30.11.2013, 18:44
You've a mistake here:
if(GetVehicleModel(GetPlayerVehicleID(playerid) ==543))
You've missed closing ) on GetVehicleModel Function.
Correct Code:
if(GetVehicleModel(GetPlayerVehicleID(playerid) ==543))
You've missed closing ) on GetVehicleModel Function.
Correct Code:
pawn Код:
if(GetVehicleModel( GetPlayerVehicleID(playerid) ) ==543)
{
trucker[playerid] = 1;
SetPlayerCheckpoint(playerid,-60.9470,-1132.2079,1.0781,243.6163,7.0);
SendClientMessage(playerid, 0xFFFFFFFF, "SERVER: You're now on {FF8000FF}trucking mission.");
}
else
{
SendClientMessage(playerid, 0xFF0000FF, "SERVER: You must be inside a Sadler to perform this command.");
return 1;