SA-MP Forums Archive
Weird errors. - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Weird errors. (/showthread.php?tid=275577)



Weird errors. - Darnell - 10.08.2011

Quote:

script.pwn(431) : warning 217: loose indentation
script.pwn(431) : error 029: invalid expression, assumed zero
script.pwn(431) : error 017: undefined symbol "cmd_spawncar"
script.pwn(431) : error 029: invalid expression, assumed zero
script.pwn(431) : fatal error 107: too many error messages on one line

Line 431 :
pawn Код:
CMD:spawncar( playerid, params[ ] )
Weird :O.


Re: Weird errors. - Basicz - 10.08.2011

Try
pawn Код:
CMD:spawncar( playerid, params[ ] )
{
    return 1;
}
?

Or you don't have ZCMD, or touched something on ZCMD


Re: Weird errors. - Darnell - 10.08.2011

I've added a dialog, and I've removed it, and it works, I'm making a dialog by SA-MP wiki now .
It's safer and better .