[PROBLEM] error 017 and warning 203 on pawno
#1

I've some problems with my gamemode... When I try to compile it, it gives me these errors:

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( 50 : warning 203: symbol is never used: "CMD"
Pawn compiler 3.2.3664 Copyright © 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
Reply
#2

can you show us the declaration of "vehicle_spawn[MAX_SPAWN_VEHICLES]" ?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)