Fatal error 100: cannot read from file: "ws"
#1

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?
Reply
#2

what is ws? what should i do?
Reply
#3

WS is a include..
Reply
#4

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

Yeah but where do i download it? Download link?
Reply
#6

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

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

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.
Reply
#9

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.
Reply
#10

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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)