16.01.2018, 16:43
I've made a /back command I have an issue with it
When I do /back it does not teleport me back to a random spawn
Код:
CMD:back(playerid,params[]) { if(!IsPlayerInInterior(playerid)) return SendClientMessage(playerid, -1, "{FF0000}(INFO) You are not in lobby"); else { if(IsPlayerInInterior(playerid)) return SendClientMessage(playerid, -1, "{EFB509}(INFO) Welcome back! You can start playing now."); SpawnPlayer(playerid); SetPlayerVirtualWorld(playerid, 0); SetPlayerInterior(playerid, 0); } return 1; }