Attached to Vehicle
#1

Code:
	if(strcmp("/sam", cmdtext, true, 10) == 0)
	{
	    if(PlayerInfo[playerid][pTeam] == 2)
	    {
	    	AttachObjectToVehicle(SAM, GetPlayerVehicleID(playerid), 0.0, 0.0, 0.0, 0.0, 0.0, 0.0);
		}
		return 1;
	}

	if(strcmp("/tower", cmdtext, true, 10) == 0)
	{
	    if(PlayerInfo[playerid][pTeam] == 2)
	    {
	    	AttachObjectToVehicle(Tower, GetPlayerVehicleID(playerid), 0.0, 0.0, 0.0, 0.0, 0.0, 0.0);
		}
		return 1;
	}
Ive got those errors & warnings:

Code:
C:\Documents and Settings\Corne\Bureaublad\Server0.3c\gamemodes\ZAF3.pwn(839) : error 017: undefined symbol "AttachObjectToVehicle"
C:\Documents and Settings\Corne\Bureaublad\Server0.3c\gamemodes\ZAF3.pwn(848) : error 017: undefined symbol "AttachObjectToVehicle"
C:\Documents and Settings\Corne\Bureaublad\Server0.3c\gamemodes\ZAF3.pwn(380) : warning 204: symbol is assigned a value that is never used: "SAM"
C:\Documents and Settings\Corne\Bureaublad\Server0.3c\gamemodes\ZAF3.pwn(381) : warning 204: symbol is assigned a value that is never used: "Tower"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


2 Errors.
Can anyone help me?
Reply


Messages In This Thread
Attached to Vehicle - by corne - 28.11.2010, 20:14
Respuesta: Attached to Vehicle - by TheChaoz - 28.11.2010, 20:16
Re: Attached to Vehicle - by corne - 28.11.2010, 20:21
Respuesta: Attached to Vehicle - by TheChaoz - 28.11.2010, 20:22
Re: Attached to Vehicle - by corne - 28.11.2010, 20:24
Respuesta: Attached to Vehicle - by TheChaoz - 28.11.2010, 20:25
Re: Attached to Vehicle - by corne - 28.11.2010, 20:27
Respuesta: Attached to Vehicle - by TheChaoz - 28.11.2010, 20:44
Re: Attached to Vehicle - by corne - 28.11.2010, 20:46
Re: Attached to Vehicle - by scripter1 - 28.11.2010, 20:52

Forum Jump:


Users browsing this thread: 1 Guest(s)