how make if you not on checkpoint u cnt use a command?
#1

i trying to make if player is not in check point the cant do /cigars
PHP код:
cmd(cigars21playeridparams[])
{
    if(
IsPlayerInRangeOfPoint(playerid3.02695.6880, -1704.630011.8438))
    if else { 
SendClientMessage(playerid,0xFFFFFFFF,"You are near the stadium entrance!");
    return 
1;
    }
        return 
1;

but keep getting this problem

PHP код:
C:\Users\yahaira\Desktop\CNR 0.3X\gamemodes\1.2.pwn(4928) : error 029invalid expressionassumed zero
Pawn compiler 3.2.3664              Copyright 
(c1997-2006ITB CompuPhase
1 Error

Reply


Messages In This Thread
how make if you not on checkpoint u cnt use a command? - by UserName31 - 01.08.2013, 21:11
Re: how make if you not on checkpoint u cnt use a command? - by DeMoX - 01.08.2013, 21:13
Re: how make if you not on checkpoint u cnt use a command? - by park4bmx - 01.08.2013, 21:14
Re: how make if you not on checkpoint u cnt use a command? - by UserName31 - 01.08.2013, 21:27

Forum Jump:


Users browsing this thread: 1 Guest(s)