09.11.2009, 17:15
ERROR CODE
In the top of my script
In OnGameModeInit:
In OnPlayerPickUpPickup:
public OnPlayerPickUpPickup(playerid,pickupid)
Код:
C:\Program Files\Rockstar Games\GTA United\gtau-server.win32\gamemodes\penvc.pwn(6707) : error 010: invalid function or declaration C:\Program Files\Rockstar Games\GTA United\gtau-server.win32\gamemodes\penvc.pwn(6762) : warning 204: symbol is assigned a value that is never used: "LCVCAIR" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Error.
Код:
new VCLCAIR; new LCVCAIR;
Код:
VCLCAIR = AddStaticPickup(6946, 2, 775.2029,-2192.7610,9.3248); LCVCAIR = AddStaticPickup(6946, 2, -2119.9409,1199.6786,11.2917);
public OnPlayerPickUpPickup(playerid,pickupid)
Код:
if(pickupid == VCLCAIR) { GameTextForPlayer(playerid,"~g~Your Plane has arrived at LC Airport",5000,3); SetPlayerPos(playerid,-2117.5942,1199.3430,11.2992); SetPlayerInterior(playerid,0); } if(pickupid == LCVCAIR) { GameTextForPlayer(playerid,"~g~Your Plane has arrived at VC Airport",5000,3); SetPlayerPos(playerid,777.2658,-2190.5876,9.1532); SetPlayerInterior(playerid,0); }