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



Scripting help - santiclaws - 18.01.2010

Ok so my friend gave me his old script that he didnt want and i have no clue to fix it cause i've just started scripting so can anyone help me? How do i fix these.

Quote:

C:\Users\Barbra\Documents\samp03asvr_R3_win32\game modes\gc0321.pwn(4223) : error 001: expected token: ";", but found "if"
C:\Users\Barbra\Documents\samp03asvr_R3_win32\game modes\gc0321.pwn(6843) : error 001: expected token: ";", but found "if"
C:\Users\Barbra\Documents\samp03asvr_R3_win32\game modes\gc0321.pwn(6863) : error 001: expected token: ";", but found "if"
C:\Users\Barbra\Documents\samp03asvr_R3_win32\game modes\gc0321.pwn(6890) : error 001: expected token: ";", but found "if"
C:\Users\Barbra\Documents\samp03asvr_R3_win32\game modes\gc0321.pwn(6917) : error 001: expected token: ";", but found "if"
C:\Users\Barbra\Documents\samp03asvr_R3_win32\game modes\gc0321.pwn(6944) : error 001: expected token: ";", but found "if"
C:\Users\Barbra\Documents\samp03asvr_R3_win32\game modes\gc0321.pwn(6971) : error 001: expected token: ";", but found "if"
C:\Users\Barbra\Documents\samp03asvr_R3_win32\game modes\gc0321.pwn(6986) : error 001: expected token: ";", but found "if"
C:\Users\Barbra\Documents\samp03asvr_R3_win32\game modes\gc0321.pwn(7024) : error 001: expected token: ";", but found "if"
C:\Users\Barbra\Documents\samp03asvr_R3_win32\game modes\gc0321.pwn(7042) : error 001: expected token: ";", but found "if"
C:\Users\Barbra\Documents\samp03asvr_R3_win32\game modes\gc0321.pwn(7060) : error 001: expected token: ";", but found "if"
C:\Users\Barbra\Documents\samp03asvr_R3_win32\game modes\gc0321.pwn(7089) : error 001: expected token: ";", but found "if"
C:\Users\Barbra\Documents\samp03asvr_R3_win32\game modes\gc0321.pwn(7115) : error 001: expected token: ";", but found "if"
C:\Users\Barbra\Documents\samp03asvr_R3_win32\game modes\gc0321.pwn(7141) : error 001: expected token: ";", but found "if"
C:\Users\Barbra\Documents\samp03asvr_R3_win32\game modes\gc0321.pwn(7666) : error 001: expected token: ";", but found "if"
C:\Users\Barbra\Documents\samp03asvr_R3_win32\game modes\gc0321.pwn(10776) : error 001: expected token: ";", but found "-identifier-"
C:\Users\Barbra\Documents\samp03asvr_R3_win32\game modes\gc0321.pwn(11042) : error 001: expected token: ";", but found "-identifier-"
C:\Users\Barbra\Documents\samp03asvr_R3_win32\game modes\gc0321.pwn(1219 : error 001: expected token: ";", but found "-identifier-"
C:\Users\Barbra\Documents\samp03asvr_R3_win32\game modes\gc0321.pwn(13462) : error 001: expected token: ";", but found "-identifier-"
C:\Users\Barbra\Documents\samp03asvr_R3_win32\game modes\gc0321.pwn(13810) : error 001: expected token: ";", but found "-identifier-"
C:\Users\Barbra\Documents\samp03asvr_R3_win32\game modes\gc0321.pwn(33125) : error 004: function "NameTimer" is not implemented
C:\Users\Barbra\Documents\samp03asvr_R3_win32\game modes\gc0321.pwn(35153) : warning 235: public function lacks forward declaration (symbol "OnPlayerPrivmsg")
C:\Users\Barbra\Documents\samp03asvr_R3_win32\game modes\gc0321.pwn(3551 : warning 203: symbol is never used: "GetPointDistanceToPointExMorph"




Re: Scripting help - Kurence - 18.01.2010

probably there are missing ";", but show us more


Re: Scripting help - santiclaws - 18.01.2010

thats all the errors and i've tried adding the ; and then pawno stopped working


Re: Scripting help - wiilweer - 18.01.2010

Can we see code. Pyut it to pastebin, it seems to be huge snippet.


Re: Scripting help - santiclaws - 18.01.2010

wait my friend helped me on most of them ill make it smaller when im done with them



Re: Scripting help - santiclaws - 18.01.2010

how do i fix this?
C:\Users\Barbra\Documents\samp03asvr_R3_win32\game modes\gc0321.pwn(35152) : warning 235: public function lacks forward declaration (symbol "OnPlayerPrivmsg")
C:\Users\Barbra\Documents\samp03asvr_R3_win32\game modes\gc0321.pwn(35517) : warning 203: symbol is never used: "GetPointDistanceToPointExMorph"