Any_S 0 Odesláno: 14. Březen, 2009 Share Odesláno: 14. Březen, 2009 nazev hovory za vse Link to comment Share on other sites More sharing options...
0 -other-PaNdACZE 0 Odesláno: 14. Březen, 2009 Share Odesláno: 14. Březen, 2009 nahoru do modu new pickup; on game mode init pickup = CreatePickup..................... OnPlayerPickUpPickup if(pickupid == pickup) { GivePlayerWeapon(playerid,46,0); } mělo by to jít dával sem to z lebeně Link to comment Share on other sites More sharing options...
0 Any_S 0 Odesláno: 14. Březen, 2009 Author Share Odesláno: 14. Březen, 2009 Heej jdee to si opravdu mistr ! Link to comment Share on other sites More sharing options...
0 -other-PaNdACZE 0 Odesláno: 14. Březen, 2009 Share Odesláno: 14. Březen, 2009 má lebeň má sice -3 zuby ale trochu jí to myslí ne tohle je blbost:D a mistr teda nejsem:D Link to comment Share on other sites More sharing options...
0 Drchy 1 Odesláno: 14. Březen, 2009 Share Odesláno: 14. Březen, 2009 hele a jak mam udelat aby mi tam sli 4 ty padaky ?? funguje mi jen 1 Link to comment Share on other sites More sharing options...
0 -other-PaNdACZE 0 Odesláno: 14. Březen, 2009 Share Odesláno: 14. Březen, 2009 udělej si novej pickup kde ho chceš atd a misto pickup dosaď všude např: pickup2 Link to comment Share on other sites More sharing options...
0 Drchy 1 Odesláno: 14. Březen, 2009 Share Odesláno: 14. Březen, 2009 aha ja sem myslel ze to pude nejak do ty 1 oki dik Link to comment Share on other sites More sharing options...
0 -other-PaNdACZE 0 Odesláno: 14. Březen, 2009 Share Odesláno: 14. Březen, 2009 to ne to je blbost:D když si uděláš několik pickuů vedle sebe tak to pude věř ale je to zbytečnost Link to comment Share on other sites More sharing options...
0 -other-PaNdACZE 0 Odesláno: 14. Březen, 2009 Share Odesláno: 14. Březen, 2009 nebo skus místo GivePlayerWeapon(playerid,46,0); dát GivePlayerWeapon(playerid,46,4); ale to sem nikdy neskoušel a to asi nepude Link to comment Share on other sites More sharing options...
0 -other-PaNdACZE 0 Odesláno: 14. Březen, 2009 Share Odesláno: 14. Březen, 2009 nebo ti něco tady udělám čekej buď na stránce já ti to pošlu Link to comment Share on other sites More sharing options...
0 Drchy 1 Odesláno: 14. Březen, 2009 Share Odesláno: 14. Březen, 2009 hele jak mam dat ty ostatni 3 pickupy do public OnPlayerPickUpPickup(playerid, pickupid) ?? mam tam tadyten jeden public OnPlayerPickUpPickup(playerid, pickupid) if(pickupid == pickup) { GivePlayerWeapon(playerid,46,0); } A jde mi to ale kdyz tam pridam ty ostatni 3 tak to nejde slozis to nejak ? tady sou ty 3 co tam chchi dat...predem dik pickup1 = CreatePickup(1310,23,-1964.8469,514.6050,202.2840); // padak pickup2 = CreatePickup(1310,23,-1965.2900,558.8826,202.2840); // -||- pickup3 = CreatePickup(1310,23,-1921.1572,558.8702,202.2840); // -||- Link to comment Share on other sites More sharing options...
0 -other-PaNdACZE 0 Odesláno: 14. Březen, 2009 Share Odesláno: 14. Březen, 2009 nahoru do modu forward timer(playerid) místo if(pickupid == pickup) { GivePlayerWeapon(playerid,46,0); } dej if(pickupid == pickup) { GivePlayerWeapon(playerid,46,0); SetTimerEx("timer",1000,1,"i",playerid); } někam dolu do modu public timer(playerid) { if(GetPlayerWeapon(playerid == 46)) { }else{ GivePlayerWeapon(playerid,46,0); } return 1; } ale nevim jestli to pude:D Link to comment Share on other sites More sharing options...
0 -other-PaNdACZE 0 Odesláno: 14. Březen, 2009 Share Odesláno: 14. Březen, 2009 čekej udělám ti to Link to comment Share on other sites More sharing options...
0 Drchy 1 Odesláno: 14. Březen, 2009 Share Odesláno: 14. Březen, 2009 ale to je timer,ja potrebuju do toho publicu OnPlyerPickUp dam ten pickup1,2,3 Link to comment Share on other sites More sharing options...
0 -other-PaNdACZE 0 Odesláno: 14. Březen, 2009 Share Odesláno: 14. Březen, 2009 do onplayerpickuppickup if(pickupid == pickup) { GivePlayerWeapon(playerid,46,0); } else if(pickupid == pickup2) { GivePlayerWeapon(playerid,46,0); } else if(pickupid == pickup3) { GivePlayerWeapon(playerid,46,0); } Link to comment Share on other sites More sharing options...
0 Drchy 1 Odesláno: 14. Březen, 2009 Share Odesláno: 14. Březen, 2009 do onplayerpickuppickup if(pickupid == pickup) { GivePlayerWeapon(playerid,46,0); } else if(pickupid == pickup2) { GivePlayerWeapon(playerid,46,0); } else if(pickupid == pickup3) { GivePlayerWeapon(playerid,46,0); } jo funguje to ...diky moc :-) :thumbup: Link to comment Share on other sites More sharing options...
0 -other-PaNdACZE 0 Odesláno: 14. Březen, 2009 Share Odesláno: 14. Březen, 2009 drchy udělej si to přes ten timer teď sem to spravil a na 100% to jede to každou 1sec. bude kontrolovat jestli máš padák a když nebudeš tak ti ho dá;-) Link to comment Share on other sites More sharing options...
0 Guest Pongo Odesláno: 15. Březen, 2009 Share Odesláno: 15. Březen, 2009 OMG uz tu je nuda take veci sa pytate Nic nove Link to comment Share on other sites More sharing options...
0 ATomas 290 Odesláno: 15. Březen, 2009 Share Odesláno: 15. Březen, 2009 mam tu neco jednodusiho jestli de ze jenom vejde do pickupu a obdrzi zbran nic vic tak je to jednodusi takhle AddStaticPickup(371,2,-439.5739,2227.8020,45.5474); //privni je zbran //potom typ pickupu toto je ze sebere a za chcili se tam zobrazi zase //posledni je kde ta zbran bude Link to comment Share on other sites More sharing options...
0 -other-PaNdACZE 0 Odesláno: 15. Březen, 2009 Share Odesláno: 15. Březen, 2009 to máš pravdu tomasi to je taky řešení já sem to takhle nikdy nedělal ale fungovat simyslím že to bude už sem to tady někde viděl ale přes ten timer sem to udělal protože chtěl aby mu to dalo 4 padáky a takhle mu jich to dá nekonečno ale na 4 by to taky šlo udělat Link to comment Share on other sites More sharing options...
0 Fil 0 Odesláno: 15. Březen, 2009 Share Odesláno: 15. Březen, 2009 Hoš iřekl bych že to dělate až moc složitě ..teda jestli jsem dobře pochopil co chce stači to udělat takto AddStaticPickup(46, 15, souradnice); 46 je id padaku a 15 je aby po sebrani padak zmizel Link to comment Share on other sites More sharing options...
0 Mattsy 29 Odesláno: 15. Březen, 2009 Share Odesláno: 15. Březen, 2009 ja mam s AddStaticPickupom zle skusenosti padalmi srvr z toho tak pouzivam CreatePickup Link to comment Share on other sites More sharing options...
0 Fil 0 Odesláno: 15. Březen, 2009 Share Odesláno: 15. Březen, 2009 No jeto možne gugsy..ale mě se to zatim jeste nestalo Link to comment Share on other sites More sharing options...
0 Mirdoslavovic 0 Odesláno: 15. Březen, 2009 Share Odesláno: 15. Březen, 2009 Zkus to takhle: Do new new padak Do public OnGameModeInit padak = CreatePickup(46,15,X,Y,Z);//45(idpickupu),15(zmizi),X,Y,Z(souradnice) A do public OnPlayerPickUpPickup tohle: if(pickupid == padak) { new pname[MAX_PLAYER_NAME]; GetPlayerName(playerid, pname, MAX_PLAYER_NAME); GivePlayerWeapon(playerid,46,1);//46(id padaku),1(mnozstvi) SendClientMessage(playerid, COLOR_RED, "Sebral jsi padak"); } return 1; } Snad ti to pomuze Link to comment Share on other sites More sharing options...
0 Mattsy 29 Odesláno: 15. Březen, 2009 Share Odesláno: 15. Březen, 2009 naco ti tam new pname[MAX_PLAYER_NAME]; GetPlayerName(playerid, pname, MAX_PLAYER_NAME); e este tam mas return 1;} :?: :?: :?: Link to comment Share on other sites More sharing options...
0 Mirdoslavovic 0 Odesláno: 15. Březen, 2009 Share Odesláno: 15. Březen, 2009 ja vim ze by to slo bez toho return1; tam mam proto kdyby to mel jako posledni pickup v publicu vis? Link to comment Share on other sites More sharing options...
Dotaz
Any_S 0
nazev hovory za vse
Link to comment
Share on other sites
26 odpovědí na tuto otázku
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now