SA-MP Forums Archive
Fatal error 100: cannot read from file: "ws" - 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: Fatal error 100: cannot read from file: "ws" (/showthread.php?tid=428073)



Fatal error 100: cannot read from file: "ws" - xDanger - 04.04.2013

Hello I'm getting this error when i compile my gamemode:


C:\Users\Dream\Desktop\gamemode.pwn(72) : fatal error 100: cannot read from file: "ws"

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


1 Error.

How can i fix it?

Line 72:
#include <ws>

I need the include "ws" does anyone have it?


Re: Fatal error 100: cannot read from file: "ws" - dusk - 04.04.2013

what is ws? what should i do?


Re: Fatal error 100: cannot read from file: "ws" - xDanger - 04.04.2013

WS is a include..


Re: Fatal error 100: cannot read from file: "ws" - Gamer_007 - 04.04.2013

Make sure you have the ws include in your sampserver/pawno/include folder


Re: Fatal error 100: cannot read from file: "ws" - xDanger - 04.04.2013

Yeah but where do i download it? Download link?


Re: Fatal error 100: cannot read from file: "ws" - dannyk0ed - 04.04.2013

Don't understand what ws.inc is Remove it and see what errors it creates.


Re: Fatal error 100: cannot read from file: "ws" - Private200 - 04.04.2013

I ain't sure if this is it, but it's the only one I found in the SA:MP forums.


Re: Fatal error 100: cannot read from file: "ws" - xDanger - 04.04.2013

C:\Users\Dream\Desktop\GTA RP Script\pawno\include\OPSP.inc(2) : error 010: invalid function or declaration
C:\Users\Dream\Desktop\GTA RP Script\pawno\include\OPSP.inc(5) : error 010: invalid function or declaration
C:\Users\Dream\Desktop\GTA RP Script\pawno\include\OPSP.inc(12) : error 010: invalid function or declaration
C:\Users\Dream\Desktop\GTA RP Script\pawno\include\OPSP.inc(24) : error 010: invalid function or declaration
C:\Users\Dream\Desktop\GTA RP Script\pawno\include\OPSP.inc(2 : error 010: invalid function or declaration
C:\Users\Dream\Desktop\GTA RP Script\pawno\include\OPSP.inc(31) : error 010: invalid function or declaration
C:\Users\Dream\Desktop\GTA RP Script\pawno\include\OPSP.inc(42) : error 010: invalid function or declaration
C:\Users\Dream\Desktop\GTA RP Script\pawno\include\OPSP.inc(45) : error 010: invalid function or declaration
C:\Users\Dream\Desktop\GTA RP Script\pawno\include\OPSP.inc(54) : error 001: expected token: "=", but found "-identifier-"
C:\Users\Dream\Desktop\GTA RP Script\pawno\include\OPSP.inc(61) : warning 219: local variable "Float" shadows a variable at a preceding level
C:\Users\Dream\Desktop\GTA RP Script\pawno\include\OPSP.inc(61) : error 001: expected token: ")", but found "-identifier-"
C:\Users\Dream\Desktop\GTA RP Script\pawno\include\OPSP.inc(61) : error 010: invalid function or declaration
C:\Users\Dream\Desktop\GTA RP Script\pawno\include\OPSP.inc(63) : error 021: symbol already defined: "Float"
C:\Users\Dream\Desktop\GTA RP Script\pawno\include\OPSP.inc(63) : error 010: invalid function or declaration
C:\Users\Dream\Desktop\GTA RP Script\pawno\include\OPSP.inc(65) : error 010: invalid function or declaration
C:\Users\Dream\Desktop\GTA RP Script\pawno\include\OPSP.inc(69) : error 010: invalid function or declaration
C:\Users\Dream\Desktop\GTA RP Script\pawno\include\OPSP.inc(71) : error 010: invalid function or declaration
C:\Users\Dream\Desktop\GTA RP Script\pawno\include\OPSP.inc(79) : error 010: invalid function or declaration
C:\Users\Dream\Desktop\GTA RP Script\pawno\include\OPSP.inc(81) : error 010: invalid function or declaration
C:\Users\Dream\Desktop\GTA RP Script\pawno\include\OPSP.inc(87) : error 010: invalid function or declaration
C:\Users\Dream\Desktop\GTA RP Script\pawno\include\OPSP.inc(89) : error 010: invalid function or declaration
C:\Users\Dream\Desktop\GTA RP Script\pawno\include\OPSP.inc(100) : error 010: invalid function or declaration
C:\Users\Dream\Desktop\GTA RP Script\pawno\include\OPSP.inc(115) : error 001: expected token: ")", but found "-identifier-"
C:\Users\Dream\Desktop\GTA RP Script\pawno\include\OPSP.inc(115) : error 001: expected token: ";", but found "-identifier-"
C:\Users\Dream\Desktop\GTA RP Script\pawno\include\OPSP.inc(117) : error 021: symbol already defined: "GetPlayerCameraWeaponVector"
C:\Users\Dream\Desktop\GTA RP Script\pawno\include\OPSP.inc(120) : error 010: invalid function or declaration
C:\Users\Dream\Desktop\GTA RP Script\pawno\include\OPSP.inc(122) : error 010: invalid function or declaration

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


26 Errors.


Re: Fatal error 100: cannot read from file: "ws" - Private200 - 04.04.2013

That's nothing that has to do with the include that I gave you right now. It's error with the OPSP include, so, try to update it.


Re: Fatal error 100: cannot read from file: "ws" - xDanger - 04.04.2013

Private200 when i used that Include i get this:
C:\Users\Dream\Desktop\GTA RP Script\pawno\include\OPSP.inc(2) : error 010: invalid function or declaration
C:\Users\Dream\Desktop\GTA RP Script\pawno\include\OPSP.inc(5) : error 010: invalid function or declaration
C:\Users\Dream\Desktop\GTA RP Script\pawno\include\OPSP.inc(12) : error 010: invalid function or declaration
C:\Users\Dream\Desktop\GTA RP Script\pawno\include\OPSP.inc(24) : error 010: invalid function or declaration
C:\Users\Dream\Desktop\GTA RP Script\pawno\include\OPSP.inc(2 : error 010: invalid function or declaration
C:\Users\Dream\Desktop\GTA RP Script\pawno\include\OPSP.inc(31) : error 010: invalid function or declaration
C:\Users\Dream\Desktop\GTA RP Script\pawno\include\OPSP.inc(42) : error 010: invalid function or declaration
C:\Users\Dream\Desktop\GTA RP Script\pawno\include\OPSP.inc(45) : error 010: invalid function or declaration
C:\Users\Dream\Desktop\GTA RP Script\pawno\include\OPSP.inc(54) : error 001: expected token: "=", but found "-identifier-"
C:\Users\Dream\Desktop\GTA RP Script\pawno\include\OPSP.inc(61) : warning 219: local variable "Float" shadows a variable at a preceding level
C:\Users\Dream\Desktop\GTA RP Script\pawno\include\OPSP.inc(61) : error 001: expected token: ")", but found "-identifier-"
C:\Users\Dream\Desktop\GTA RP Script\pawno\include\OPSP.inc(61) : error 010: invalid function or declaration
C:\Users\Dream\Desktop\GTA RP Script\pawno\include\OPSP.inc(63) : error 021: symbol already defined: "Float"
C:\Users\Dream\Desktop\GTA RP Script\pawno\include\OPSP.inc(63) : error 010: invalid function or declaration
C:\Users\Dream\Desktop\GTA RP Script\pawno\include\OPSP.inc(65) : error 010: invalid function or declaration
C:\Users\Dream\Desktop\GTA RP Script\pawno\include\OPSP.inc(69) : error 010: invalid function or declaration
C:\Users\Dream\Desktop\GTA RP Script\pawno\include\OPSP.inc(71) : error 010: invalid function or declaration
C:\Users\Dream\Desktop\GTA RP Script\pawno\include\OPSP.inc(79) : error 010: invalid function or declaration
C:\Users\Dream\Desktop\GTA RP Script\pawno\include\OPSP.inc(81) : error 010: invalid function or declaration
C:\Users\Dream\Desktop\GTA RP Script\pawno\include\OPSP.inc(87) : error 010: invalid function or declaration
C:\Users\Dream\Desktop\GTA RP Script\pawno\include\OPSP.inc(89) : error 010: invalid function or declaration
C:\Users\Dream\Desktop\GTA RP Script\pawno\include\OPSP.inc(100) : error 010: invalid function or declaration
C:\Users\Dream\Desktop\GTA RP Script\pawno\include\OPSP.inc(115) : error 001: expected token: ")", but found "-identifier-"
C:\Users\Dream\Desktop\GTA RP Script\pawno\include\OPSP.inc(115) : error 001: expected token: ";", but found "-identifier-"
C:\Users\Dream\Desktop\GTA RP Script\pawno\include\OPSP.inc(117) : error 021: symbol already defined: "GetPlayerCameraWeaponVector"
C:\Users\Dream\Desktop\GTA RP Script\pawno\include\OPSP.inc(120) : error 010: invalid function or declaration
C:\Users\Dream\Desktop\GTA RP Script\pawno\include\OPSP.inc(122) : error 010: invalid function or declaration

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


26 Errors.