Blocking some cmds
#1

Is there a way to block some cmds when u are in a place? I want to block only same teleports when i go to a place. Is there something?
Reply
#2

you can set it so if they is only a few places that it checks for that area and if ur not in it the cmd wont work

for this you want to use
pawn Код:
if(!strcmp("/stadium",cmdtext))
{
    if(IsPlayerInRangeOfPoint(playerid, 7.0, 2695.6880, -1704.6300, 11.8438))
    {
        SendClientMessage(playerid,0xFFFFFFFF,"You are near the stadium entrance!");
    }
    return 1;
}
Reply
#3

Yes, but it's a slow (and lag) way :/
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)