HELP! - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: HELP! (
/showthread.php?tid=514346)
HELP! -
romsisx - 21.05.2014
Hello.
I Get this warrning.Please help
Код:
C:\Users\Vova\Desktop\Romas\SAMP\Romas(Netrink)\Romas\startGM by Leo G v0.0.1\gamemodes\startGM.pwn(392) : error 017: undefined symbol "TaxiInf"
C:\Users\Vova\Desktop\Romas\SAMP\Romas(Netrink)\Romas\startGM by Leo G v0.0.1\gamemodes\startGM.pwn(392) : warning 215: expression has no effect
C:\Users\Vova\Desktop\Romas\SAMP\Romas(Netrink)\Romas\startGM by Leo G v0.0.1\gamemodes\startGM.pwn(392) : error 001: expected token: ";", but found "]"
C:\Users\Vova\Desktop\Romas\SAMP\Romas(Netrink)\Romas\startGM by Leo G v0.0.1\gamemodes\startGM.pwn(392) : error 029: invalid expression, assumed zero
C:\Users\Vova\Desktop\Romas\SAMP\Romas(Netrink)\Romas\startGM by Leo G v0.0.1\gamemodes\startGM.pwn(392) : fatal error 107: too many error messages on one line
This code:
Код:
if(newstate == PLAYER_STATE_DRIVER) // tikriname ar ћaidejas sedi vairuotojo pozicijoje.
{
new VID = GetPlayerVehicleID(playerid);
if(VID == TaxiInf[0]) // <--- THIS LINE
{
Re: HELP! -
Lynn - 21.05.2014
If I had to guess, you meant to type TaxiInfo[0] instead of TaxiInf[0]
Otherwise, you don't have TaxiInf defined.