/back command
#5

Your code didn't work out for me, Anyways, I managed to get closer to fixing this, The only problem is even when I am not in the lobby I can still use back

Код:
CMD:back(playerid,params[])
{
    new Float:IsPlayerInInterior;
    if(IsPlayerInInterior == 10)
	{
        SendClientMessage(playerid, -1, "{FF0000}(INFO) You are not in lobby");
    }
    else
    {
     SendClientMessage(playerid, -1, "{EFB509}(INFO) Welcome back! You can start playing now.");
     SpawnPlayer(playerid);
     SetPlayerVirtualWorld(playerid, 0);
     SetPlayerInterior(playerid, 0);
	 SetPlayerHealth(playerid,100);
    }
    return 1;
}
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)