07.04.2011, 21:28
Ok. Now i did that. But when im doing like this:
it gives me this error:
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;
}
Код:
C:\Users\Simon\Desktop\Untitled.pwn(129) : error 017: undefined symbol "truck" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Error.