Undefined Symbol
#1

I have this line of script at the top of my filterscript:

Quote:

new DETWASH,DETHUNT,SWATENFORCE,SWATWASH,SWATRANCH,FBI RANCH,FBIPRE,EMSAMBU,EMSRANCH,EMSAIR,CORBUS,CORTRA NS,DMV,FDENG,FDAMBU,FDRANCH;

But when i do this:
Quote:

new vehicle;
vehicle = GetPlayerVehicleID(playerid);
if (vehicle == DETWASH)
{
SendClientMessage(playerid,0x828282FF,"Vehicle:Was hington Owner: SAPD DET");
}
if (vehicle == DETHUNT)
{
SendClientMessage(playerid,0x828282FF,"Vehicle:Hun tley Owner: SAPD DET");
}
if (vehicle == SWATENFORCE)
{
SendClientMessage(playerid,0x828282FF,"Vehicle:Enf orcer Owner: SWAT");
}
if (vehicle == SWATWASH)
{
SendClientMessage(playerid,0x828282FF,"Vehicle:Was hington Owner: SWAT");
}
if (vehicle == SWATRANCH)
{
SendClientMessage(playerid,0x828282FF,"Vehicle:Fed eral Rancher Owner: SWAT");
}
if (vehicle == FBIRANCH)
{
SendClientMessage(playerid,0x828282FF,"Vehicle:Fed eral Rancher Owner: FBI");
}
if (vehicle == FBIPRE)
{
SendClientMessage(playerid,0x828282FF,"Vehicle:Fed eral Rancher Owner: FBI");
}
if (vehicle == EMSAMBU)
{
SendClientMessage(playerid,0x828282FF,"Vehicle:Amb ulance Owner: FDSA EMS");
}
if (vehicle == EMSAIR)
{
SendClientMessage(playerid,0x828282FF,"Vehicle:Rai ndance Owner: FDSA EMS");
}
if (vehicle == CORBUS)
{
SendClientMessage(playerid,0x828282FF,"Vehicle:Bus Owner: Corrections");
}
if (vehicle == CORTRANS)
{
SendClientMessage(playerid,0x828282FF,"Vehicle:Sec uricar Owner: Corrections");
}
if (vehicle == DMV)
{
SendClientMessage(playerid,0x828282FF,"Vehicle:Man ana Owner: DMV");
}
if (vehicle == FDENG)
{
SendClientMessage(playerid,0x828282FF,"Vehicle:Fir e Engine Owner: FDSA");
}
if (vehicle == FDAMBU)
{
SendClientMessage(playerid,0x828282FF,"Vehicle:Amb ulance Owner: FDSA EMS");
}
if (vehicle == FDRANCH)
{
SendClientMessage(playerid,0x828282FF,"Vehicle:Fed eral Rancher Owner: FDSA");
}

I get undefined errors:

Quote:

C:/ Scripts\Filterscripts\vehicles.pwn(153) : error 017: undefined symbol "DETWASH"
D:\Scripts\Filterscripts\vehicles.pwn(157) : error 017: undefined symbol "DETHUNT"
D:\Scripts\Filterscripts\vehicles.pwn(161) : error 017: undefined symbol "SWATENFORCE"
D:\Scripts\Filterscripts\vehicles.pwn(165) : error 017: undefined symbol "SWATWASH"
D:\Scripts\Filterscripts\vehicles.pwn(169) : error 017: undefined symbol "SWATRANCH"
D:\Scripts\Filterscripts\vehicles.pwn(173) : error 017: undefined symbol "FBIRANCH"
D:\Scripts\Filterscripts\vehicles.pwn(177) : error 017: undefined symbol "FBIPRE"
D:\Scripts\Filterscripts\vehicles.pwn(181) : error 017: undefined symbol "EMSAMBU"
D:\Scripts\Filterscripts\vehicles.pwn(185) : error 017: undefined symbol "EMSAIR"
D:\Scripts\Filterscripts\vehicles.pwn(189) : error 017: undefined symbol "CORBUS"
D:\Scripts\Filterscripts\vehicles.pwn(193) : error 017: undefined symbol "CORTRANS"
D:\Scripts\Filterscripts\vehicles.pwn(197) : error 017: undefined symbol "DMV"
D:\Scripts\Filterscripts\vehicles.pwn(201) : error 017: undefined symbol "FDENG"
D:\Scripts\Filterscripts\vehicles.pwn(205) : error 017: undefined symbol "FDAMBU"
D:\Scripts\Filterscripts\vehicles.pwn(209) : error 017: undefined symbol "FDRANCH"

Reply


Messages In This Thread
Undefined Symbol - by jtemple042996 - 27.02.2012, 21:05
Re: Undefined Symbol - by new121 - 27.02.2012, 21:25
Re: Undefined Symbol - by jtemple042996 - 27.02.2012, 21:43
Re: Undefined Symbol - by new121 - 28.02.2012, 00:20
Re: Undefined Symbol - by jtemple042996 - 28.02.2012, 22:44
Re: Undefined Symbol - by StreetGT - 28.02.2012, 22:48

Forum Jump:


Users browsing this thread: 1 Guest(s)