Quantcast
Channel: SA-MP Forums
Viewing all articles
Browse latest Browse all 18226

A weird bug with my aleave command

$
0
0
Code:

CMD:aleave(playerid, params[])
{
  if(InArena1[playerid] == 1)
  {
    SetPlayerInterior(playerid, 0);
    SetPlayerVirtualWorld(playerid, 0);
    SendClientMessage(playerid, -1, "{EFB509}(INFO) You have left arena1!");
    SpawnPlayer(playerid);
  }
  else
  {
          SendClientMessage(playerid, -1, "{c3c3c3}(INFO) You're not in the arena!");
  }
  return 1;
}

.

When I use that command, Instead of spawning, It spawns me at the sky somewhere far, Why so?

Viewing all articles
Browse latest Browse all 18226

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>