Need Help By Blocking commands
#4

pawn Код:
if(strcmp(cmdtext, "/car", true) == 0)
{
    if(IsPlayerInRangeOfPoint(playerid, 5.0, 428.54077148438,2471.2541503906, 25.62894821167))return SendClientMessage(playerid, COLOR_RED,"You Cannot Use This Command Here"); // if player is in range of this point, all the code after this isn't executed
    //your command function here
    return 1;
}
any questions? just ask.
Reply


Messages In This Thread
Need Help By Blocking commands - by rs2fun111 - 22.02.2010, 05:27
Re: Need Help By Blocking commands - by MisterTickle - 22.02.2010, 05:49
Re: Need Help By Blocking commands - by rs2fun111 - 22.02.2010, 05:52
Re: Need Help By Blocking commands - by Gamer_Z - 22.02.2010, 05:59
Re: Need Help By Blocking commands - by rs2fun111 - 22.02.2010, 06:54

Forum Jump:


Users browsing this thread: 1 Guest(s)