SA-MP Forums Archive
AirportTicket - 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: AirportTicket (/showthread.php?tid=70867)



AirportTicket - speedy199 - 28.03.2009

In filtersript compiler found 6 eror.

you can help me fix this filterscript ?

this my first script. Help me please and thankyou for help.

This pastebin = http://pastebin.com/m59987d92

--------------------------------------------------
I'm sorry english my bad.




Re: AirportTicket - speedy199 - 28.03.2009

who can help me ?


Re: AirportTicket - James_Alex - 28.03.2009

lol, huge number of errors
mybe no one will fix you these errors




Re: AirportTicket - Pyrokid - 28.03.2009

He didn't even say where the errors where.


Re: AirportTicket - speedy199 - 28.03.2009

C:\Documents and Settings\user\My Documents\NewProject\TicketAirport.pwn(5 : error 017: undefined symbol "strtok"
C:\Documents and Settings\user\My Documents\NewProject\TicketAirport.pwn(5 : error 033: array must be indexed (variable "cmd")
C:\Documents and Settings\user\My Documents\NewProject\TicketAirport.pwn(60) : warning 217: loose indentation
C:\Documents and Settings\user\My Documents\NewProject\TicketAirport.pwn(60) : error 017: undefined symbol "strtok"
C:\Documents and Settings\user\My Documents\NewProject\TicketAirport.pwn(60) : error 029: invalid expression, assumed zero
C:\Documents and Settings\user\My Documents\NewProject\TicketAirport.pwn(60) : error 029: invalid expression, assumed zero
C:\Documents and Settings\user\My Documents\NewProject\TicketAirport.pwn(60) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


6 Errors.


58 = cmd = strtok(cmdtext, idx);

60 = strtok(const string[], &index)

I'm waiting your answer...

Thankyou to all for help. ^_^


Re: AirportTicket - Rks25 - 28.03.2009

http://pawn.pastebin.com/d522d1b40
Now just add PlayerToPoint, and define the airlines and stuf.