Changing .pwn files - 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: Changing .pwn files (
/showthread.php?tid=245270)
Changing .pwn files - ColdIce - 30.03.2011
Hello. I want to change some pwn files on my server, but when I have edit them(change words) and compile it it says cannot find a_samp blabla but ofc I got it on my computer! Can somebody please tell me how to do this?
Re: Changing .pwn files -
WillyP - 30.03.2011
Is your .pwn file located in the correct directory?
Re: Changing .pwn files -
KaleOtter - 30.03.2011
Go to your pawno map of you server, run pawno.exe as admin if you have vista or win 7. And open your gamemode with ctrl+o and compile it. This should work.
Re: Changing .pwn files - ColdIce - 30.03.2011
I am using serverffs
Re: Changing .pwn files - ColdIce - 30.03.2011
Correct directory? I just dwl a FS(pwn+amx), open the .pwn file and change few things to my languages, press F5 and then I get error. Please help!
Re: Changing .pwn files -
KaleOtter - 30.03.2011
Edit: did you just downloaded a filterscript and edited the pwn and the amx? without the other servers files?
You should have the file pawno/includes/a_samp.inc.
So you should download the samp server package and then put your filterscripts in the filterscripts map, and compile them there.
Re: Changing .pwn files - ColdIce - 30.03.2011
Quote:
Originally Posted by KaleOtter
Edit: did you just downloaded a filterscript and edited the pwn and the amx? without the other servers files?
You should have the file pawno/includes/a_samp.inc.
So you should download the samp server package and then put your filterscripts in the filterscripts map, and compile them there.
|
I did that and:
\filterscripts\autorepair.pwn(27) : warning 235: public function lacks forward declaration (symbol "Repair")
my english is not 100% so please tell me if this is just a simple fix
Re: Changing .pwn files -
KaleOtter - 30.03.2011
Well it seems you forgot to forward something I gues, show me line 27 of your autorepair filterscript.
Re: Changing .pwn files - ColdIce - 30.03.2011
Quote:
Originally Posted by KaleOtter
Well it seems you forgot to forward something I gues, show me line 27 of your autorepair filterscript.
|
public Repair(playerid)
Re: Changing .pwn files -
KaleOtter - 30.03.2011
put :
forward Repair(playerid); above it, not sure if it works because I cannot see more of your script ;S