04.06.2012, 18:17
Oh no no no error are in public OnPlayerPickUpPickup(playerid, pickupid)
And 228 but i have only 227
pawn Код:
C:\Documents and Settings\Administrator\Desktop\TARGOVISHTE ROLEPLAY\filterscripts\truck.pwn(211) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Administrator\Desktop\TARGOVISHTE ROLEPLAY\filterscripts\truck.pwn(211) : error 004: function "OnPlayerPickUpPickup" is not implemented
C:\Documents and Settings\Administrator\Desktop\TARGOVISHTE ROLEPLAY\filterscripts\truck.pwn(213) : error 017: undefined symbol "pickupid"
C:\Documents and Settings\Administrator\Desktop\TARGOVISHTE ROLEPLAY\filterscripts\truck.pwn(217) : error 017: undefined symbol "pickupid"
C:\Documents and Settings\Administrator\Desktop\TARGOVISHTE ROLEPLAY\filterscripts\truck.pwn(221) : error 017: undefined symbol "pickupid"
C:\Documents and Settings\Administrator\Desktop\TARGOVISHTE ROLEPLAY\filterscripts\truck.pwn(228) : error 030: compound statement not closed at the end of file (started at line 202)
pawn Код:
public OnPlayerPickUpPickup(playerid, pickupid) // 211
{
if(pickupid == info) // 213
{
GameTextForPlayer(playerid, "~g~Welcome at the Truck Driver job, use /truckinfo to know more", 3000, 3);
}
if(pickupid == info) // 217
{
GameTextForPlayer(playerid, "~g~Welcome at the Fly job, use /flyinfo to know more", 3000, 3);
}
if(pickupid == info) // 221
{
GameTextForPlayer(playerid, "~g~Welcome at the Combine job, use /combineinfo to know more", 3000, 3);
}
return 1;
}

