Roach Posted November 20, 2010 Posted November 20, 2010 Acum ca am ajutat pe cineva ma simt inplinit si am si eu nevoie de ajutor! =))Deci am sa zicem comanda /ddz: if(!strcmp(cmd, "/ddz",true) == 0) { BlockCommand[playerid]=1; ResetPlayerWeapons(playerid); new RandomSpawn = random(5); SendTeleport(playerid,"/ddz");Si dupa sunt Random Spawn-urile dar pe mine daca mor in timpul duelului ma Respawneaza in postul normal(ls, sf etc.)Cum fac ca sa ma respawneze tot in /ddz si sa pot iesi doar cu /exitDM?*stuntman For The Win, 4 Ever! Underground-GFX
Brandonu Posted November 20, 2010 Posted November 20, 2010 :) Pai Comanda Asta /DDZ Explica-ne Si Noua Mai Bine Pentru Ce Este
Gabb04 Posted November 20, 2010 Posted November 20, 2010 Nu ar trebui sa creezi un : new RandomSpawns[x][3] = { }; ? Intre acolade sa pui toate coordonatele pt randomspawn.Exemplu : new Float:RandomSpawns[4][3] = { {2458.0073,-2079.2607,13.5469}, {2802.9756,968.1823,10.7500}, {2367.6270,2754.8928,10.5280}, {1637.4083,2340.4880,10.0303} }; Dupa care mergi la OnPlayerSpawn si faci : if(BlockCommand[playerid] == 1) { new rand = random(sizeof(RandomSpawns)); SetPlayerPos(playerid, RandomSpawns[rand][0],RandomSpawns[rand][1],RandomSpawns[rand][2]); }Daca te-am informat gresit , sorry.
Roach Posted November 21, 2010 Author Posted November 21, 2010 L-am rezolvat.PS: Pentru cei ce vor sa faca ca mine uitati aici http://pastebin.com/sT9a9nCN ! Underground-GFX
Question
Roach
Acum ca am ajutat pe cineva ma simt inplinit si am si eu nevoie de ajutor! =))
Deci am sa zicem comanda /ddz:
Si dupa sunt Random Spawn-urile dar pe mine daca mor in timpul duelului ma Respawneaza in postul normal(ls, sf etc.)
Cum fac ca sa ma respawneze tot in /ddz si sa pot iesi doar cu /exitDM?
*stuntman For The Win, 4 Ever!
Underground-GFX
3 answers to this question
Recommended Posts