Undefined symbol
#5

(IsACopCar(carid)) // 'carid' not defined

IsACopCar( GetPlayerVehicleID( id ) ) // here is no need to define something

pawn Код:
if (IsPlayerConnected(id))
        {
            if (IsACopCar( GetPlayerVehicleID( id ) )) // <=====
            {
                SendClientMessage(id, 0xFFFFFFFFF, "You have been cuffed and cannot move");
                TogglePlayerControllable(id,0);
                return 1;
            }
            else
            {
                SendClientMessage(playerid, 0xFF0000AA, "You're not in a registered cop car");
            }
        }
Reply


Messages In This Thread
Undefined symbol - by JoeDaDude - 12.06.2009, 18:25
Re: Undefined symbol - by JoeDaDude - 12.06.2009, 19:29
Re: Undefined symbol - by Kyle - 12.06.2009, 19:47
Re: Undefined symbol - by JoeDaDude - 12.06.2009, 19:49
Re: Undefined symbol - by pen_theGun - 12.06.2009, 20:18

Forum Jump:


Users browsing this thread: 1 Guest(s)