I've some problems with my gamemode... When I try to compile it, it gives me these errors:
and the lines are here:
Somebody knows what is the problem???
Quote:
C:\Program Files (x86)\SAMT\SanAndreasMovieTeam\gamemodes\SAMT.pwn( 71) : error 017: undefined symbol "vehicle_spawn" C:\Program Files (x86)\SAMT\SanAndreasMovieTeam\gamemodes\SAMT.pwn( 73) : error 017: undefined symbol "vehicle_spawn" C:\Program Files (x86)\SAMT\SanAndreasMovieTeam\gamemodes\SAMT.pwn( 74) : error 017: undefined symbol "vehicle_spawn" C:\Program Files (x86)\SAMT\SanAndreasMovieTeam\gamemodes\SAMT.pwn( 508) : warning 203: symbol is never used: "CMD" Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase 3 Errors. |
and the lines are here:
Quote:
67 public OnVehicleDeath(vehicleid, killerid) 68 { 69 for(new i; i < MAX_SPAWN_VEHICLES; i++) 70 { 71 if(vehicle_spawn[i] == vehicleid) 72 { 73 vehicle_spawn[i] = INVALID_VEHICLE_ID; 74 return DestroyVehicle(vehicle_spawn[i]); 75 } 76 } 77 return 1; 78 } 79 80 public OnPlayerText(playerid, text[]) 81 { 82 return 1; 83 } |
Somebody knows what is the problem???