Posts: 115
Threads: 28
Joined: Apr 2013
Reputation:
0
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
Posts: 3,351
Threads: 780
Joined: Jan 2010
Posts: 3,351
Threads: 780
Joined: Jan 2010
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
Posts: 115
Threads: 28
Joined: Apr 2013
Reputation:
0
I have the file but it no work
Posts: 3,351
Threads: 780
Joined: Jan 2010
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.