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
#2

https://sampforum.blast.hk/showthread.php?tid=277126
Reply
#3

Thanks alot
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)