Command for people inside that area
#1



OKAY LOOK This really annoys me , My admins keep telling me about DM abuse. EXAMPLE:

Player types /Dm3 Then /LS back to los santos and kills everybody with Dm3 weapons -_-

so I made a block and putted

IsPlayerInZone[playerid] = 0; on each /DM cmd.

But when I type ANY COMMAND it says the error message


pawn Код:
EROARE: {FFFFFF}You can not get out of this area  !


! I MEAN LIKE ANY COMMAND even a command that doesnt exist like /asadadsad [/B]


pawn Код:
if( IsPlayerInZone[ playerid ] == 1 && strcmp(cmdtext, "/ls", true) != 0 )
    return SendClientMessage( playerid, 0xFF0000FF, "EROARE: {FFFFFF}You can not get out of this area !" );
What needs to be fixxed?. & Yes, its under OnPlayerCommandText .
Reply


Messages In This Thread
Command for people inside that area - by [Cali]ChrOnic_T - 16.06.2014, 14:08
Re: Command for people inside that area - by RenovanZ - 16.06.2014, 14:34
Re: Command for people inside that area - by Sandiel - 16.06.2014, 17:09
Re: Command for people inside that area - by HeLiOn_PrImE - 16.06.2014, 19:39

Forum Jump:


Users browsing this thread: 1 Guest(s)