Multiple vehicles in 1 variable
#7

Ok. Now i did that. But when im doing like this:
pawn Код:
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
    if(pJob[playerid][trucker] == 0)
    {
        if(vehicleid == truck)
        {
            SendClientMessage(playerid, COLOR_NORMALRED, "( ! ) Only Truckers can use this vehicle!");
            RemovePlayerFromVehicle(playerid);
        }
    }
    return 1;
}
it gives me this error:
Код:
C:\Users\Simon\Desktop\Untitled.pwn(129) : error 017: undefined symbol "truck"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
Reply


Messages In This Thread
Multiple vehicles in 1 variable - by sim_sima - 07.04.2011, 17:23
Re : Multiple vehicles in 1 variable - by Vukilore - 07.04.2011, 17:48
Re: Multiple vehicles in 1 variable - by Stigg - 07.04.2011, 18:02
Re: Multiple vehicles in 1 variable - by Calgon - 07.04.2011, 19:10
Re: Multiple vehicles in 1 variable - by sim_sima - 07.04.2011, 21:15
Re: Multiple vehicles in 1 variable - by marinov - 07.04.2011, 21:19
Re: Multiple vehicles in 1 variable - by sim_sima - 07.04.2011, 21:28
Re: Multiple vehicles in 1 variable - by sim_sima - 07.04.2011, 21:33
Re: Multiple vehicles in 1 variable - by [L3th4l] - 07.04.2011, 21:42
Re: Multiple vehicles in 1 variable - by marinov - 07.04.2011, 21:43

Forum Jump:


Users browsing this thread: 1 Guest(s)