If player is at > Interior
#5

pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{

    if (strcmp("/mycommand", cmdtext, true, 10) == 0)
        {
        if(GetPlayerInterior(playerid) == 3) //Change interior to suit you (change the 3)
            {
            //command
            }
        else
            {
            SendClientMessage(playerid, 0xFF00FFFF, "You're not in the right interior, sorry");
            }
        }

    return 0;
}
Reply


Messages In This Thread
If player is at > Interior - by Sal_Kings - 12.05.2009, 16:18
Re: If player is at > Interior - by Flavius - 12.05.2009, 16:19
Re: If player is at > Interior - by Sal_Kings - 12.05.2009, 16:20
Re: If player is at > Interior - by Flavius - 12.05.2009, 16:21
Re: If player is at > Interior - by Weirdosport - 12.05.2009, 16:23

Forum Jump:


Users browsing this thread: 1 Guest(s)