pawno cannot read socket - 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: pawno cannot read socket (
/showthread.php?tid=495089)
pawno cannot read socket -
betta - 15.02.2014
why cant pawno read socket
script.pwn(47) : fatal error 100: cannot read from file: "socket"
and when i add socket .inc to /pawno/includes it crashes and pawn compiler errors
Re: pawno cannot read socket -
Face9000 - 15.02.2014
What? Be more specific.
Re: pawno cannot read socket -
betta - 15.02.2014
Updated
Re: pawno cannot read socket -
Face9000 - 15.02.2014
Do you have the socket.inc file? You can't just create a file named socket.inc and then place it in the /include folder.
.inc file should contain the include code.
EDIT: Try this:
http://files.g-stylezzz.com/socket_plugin/socket.inc
Re: pawno cannot read socket -
betta - 15.02.2014
I have the file but it no work
Re: pawno cannot read socket -
Face9000 - 15.02.2014
Save that file and place it in /pawno/include, then open your gamemode and add #include <socket>, then compile it.
Are you sure you are compiling with the correct pawno.exe file? You have to compile it using the current server folder location. Open your server folder, then go in Pawno, open Pawno.exe and open your .pwn file. Then compile it.