Teleport help, compile error
#1

ERROR CODE
Код:
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.
In the top of my script
Код:
new VCLCAIR;
new LCVCAIR;
In OnGameModeInit:

Код:
	VCLCAIR = AddStaticPickup(6946, 2, 775.2029,-2192.7610,9.3248);
	LCVCAIR = AddStaticPickup(6946, 2, -2119.9409,1199.6786,11.2917);
In OnPlayerPickUpPickup:
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);
	}
Reply


Messages In This Thread
Teleport help, compile error - by Samslime - 09.11.2009, 17:15
Re: Teleport help, compile error - by DeathOnaStick - 10.11.2009, 15:25
Re: Teleport help, compile error - by Samslime - 14.11.2009, 14:15
Re: Teleport help, compile error - by dice7 - 14.11.2009, 14:58
Re: Teleport help, compile error - by Samslime - 15.11.2009, 16:30

Forum Jump:


Users browsing this thread: 1 Guest(s)