04.06.2012, 15:51
pawn Код:
C:\Documents and Settings\Administrator\Desktop\TARGOVISHTE ROLEPLAY\filterscripts\truck.pwn(212) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Administrator\Desktop\TARGOVISHTE ROLEPLAY\filterscripts\truck.pwn(212) : error 004: function "OnPlayerPickUpPickup" is not implemented
C:\Documents and Settings\Administrator\Desktop\TARGOVISHTE ROLEPLAY\filterscripts\truck.pwn(214) : error 017: undefined symbol "pickupid"
C:\Documents and Settings\Administrator\Desktop\TARGOVISHTE ROLEPLAY\filterscripts\truck.pwn(218) : error 017: undefined symbol "pickupid"
C:\Documents and Settings\Administrator\Desktop\TARGOVISHTE ROLEPLAY\filterscripts\truck.pwn(222) : error 017: undefined symbol "pickupid"
C:\Documents and Settings\Administrator\Desktop\TARGOVISHTE ROLEPLAY\filterscripts\truck.pwn(230) : error 030: compound statement not closed at the end of file (started at line 196)
pawn Код:
}
public OnPlayerExitVehicle(playerid, vehicleid)
{
if((truckjobrunning) == 1)
{
truckjobrunning = 0;
SendClientMessage(playerid, COLOR_RED, "You left your truck behind, get in again if you want to continue your job.");
}else if((truckjobrunning) == 0){
if((flyjobrunning) == 1)
{
flyjobrunning = 0;
SendClientMessage(playerid, COLOR_RED, "You left the plane, you failed the job.");
}else if((flyjobrunning) == 0){
if((combinejobrunning) == 1)
{
combinejobrunning = 0;
SendClientMessage(playerid, COLOR_RED, "You left your combine behind, get in again if you want to continue your job.");
}else if((combinejobrunning) == 0){
//Nothing
}
}
public OnPlayerPickUpPickup(playerid, pickupid)
{
if(pickupid == info)
{
GameTextForPlayer(playerid, "~g~Welcome at the Truck Driver job, use /truckinfo to know more", 3000, 3);

