/back command
#1

I've made a /back command I have an issue with it

Код:
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;
}
When I do /back it does not teleport me back to a random spawn
Reply


Messages In This Thread
/back command - by ivndosos - 16.01.2018, 16:43
Re: /back command - by Daveosss - 16.01.2018, 16:52
Re: /back command - by ivndosos - 16.01.2018, 16:52
Re: /back command - by Daveosss - 16.01.2018, 16:59
Re: /back command - by ivndosos - 16.01.2018, 19:40
Re: /back command - by Daveosss - 16.01.2018, 20:10
Re: /back command - by ivndosos - 16.01.2018, 20:14
Re: /back command - by ivndosos - 16.01.2018, 20:29
Re: /back command - by Lucases - 16.01.2018, 20:29

Forum Jump:


Users browsing this thread: 1 Guest(s)