28.11.2010, 20:14
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; }
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.