Jump to content
  • 0

Ajutor Micut![SOLVED]



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)
  		new RandomSpawn = random(5);

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!



Link to comment
Share on other sites

3 answers to this question

Recommended Posts

Nu ar trebui sa creezi un : new RandomSpawns[x][3] = { }; ?

Intre acolade sa pui toate coordonatele pt randomspawn.

Exemplu :

new Float:RandomSpawns[4][3] = {
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.

Link to comment
Share on other sites

This topic is now closed to further replies.
  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.