Multiple /enter commands for different locations
#1

so i want to make a /enter command for many locations, Banks, LSPD, shops etc, But i only want to use the one command.. How would i go about this? So far my OnPlayerCommandText is..

pawn Код:
if(!strcmp("/enter",cmdtext))
{
    if(IsPlayerInRangeOfPoint(playerid, 3.0, -323.44,2675.54,63.67))
    {
    SetPlayerInterior(playerid,6);
    SetPlayerPos(playerid,246.783996,63.900199,1003.640625);
    }
    else(SendClientMessage(playerid, 0xFFFFFFFF, "You are not near any enterable doors!"));
    }
    return 1;
    }
Reply


Messages In This Thread
Multiple /enter commands for different locations - by Lz - 02.12.2012, 19:57
Re: Multiple /enter commands for different locations - by Infinity90 - 02.12.2012, 20:07
Re: Multiple /enter commands for different locations - by Lz - 02.12.2012, 20:15

Forum Jump:


Users browsing this thread: 2 Guest(s)