PDA

View Full Version : [HELP] gl_common.inc gives me 26 errors


BornHuman
13/06/2015, 10:13 PM
Compiled my script before I added this code that needed gl_common.inc. Never before had I got these errors but I used <#include ../include/gl_common.inc> and compiled and I got these errors

D:\SAMP Servers\Vortex Roleplay\script\gamemodes\RP.pwn(2666) : error 001: expected token: "-identifier-", but found "-string-"
D:\SAMP Servers\Vortex Roleplay\script\gamemodes\RP.pwn(2680) : error 035: argument type mismatch (argument 3)
D:\SAMP Servers\Vortex Roleplay\script\gamemodes\RP.pwn(2681) : error 035: argument type mismatch (argument 3)
D:\SAMP Servers\Vortex Roleplay\script\gamemodes\RP.pwn(2687) : error 035: argument type mismatch (argument 3)
D:\SAMP Servers\Vortex Roleplay\script\gamemodes\RP.pwn(2688) : error 035: argument type mismatch (argument 3)
D:\SAMP Servers\Vortex Roleplay\script\gamemodes\RP.pwn(2694) : error 035: argument type mismatch (argument 3)
D:\SAMP Servers\Vortex Roleplay\script\gamemodes\RP.pwn(2695) : error 035: argument type mismatch (argument 3)
D:\SAMP Servers\Vortex Roleplay\script\gamemodes\RP.pwn(12200) : warning 219: local variable "fX" shadows a variable at a preceding level
D:\SAMP Servers\Vortex Roleplay\script\gamemodes\RP.pwn(12200) : warning 219: local variable "fY" shadows a variable at a preceding level
D:\SAMP Servers\Vortex Roleplay\script\gamemodes\RP.pwn(12200) : warning 219: local variable "fZ" shadows a variable at a preceding level
D:\SAMP Servers\Vortex Roleplay\script\gamemodes\RP.pwn(12201) : error 035: argument type mismatch (argument 3)
D:\SAMP Servers\Vortex Roleplay\script\gamemodes\RP.pwn(12208 -- 12209) : warning 213: tag mismatch
D:\SAMP Servers\Vortex Roleplay\script\gamemodes\RP.pwn(12208 -- 12209) : warning 213: tag mismatch
D:\SAMP Servers\Vortex Roleplay\script\gamemodes\RP.pwn(12208 -- 12209) : warning 213: tag mismatch
D:\SAMP Servers\Vortex Roleplay\script\gamemodes\RP.pwn(12215 -- 12216) : warning 213: tag mismatch
D:\SAMP Servers\Vortex Roleplay\script\gamemodes\RP.pwn(12215 -- 12216) : warning 213: tag mismatch
D:\SAMP Servers\Vortex Roleplay\script\gamemodes\RP.pwn(12215 -- 12216) : warning 213: tag mismatch
D:\SAMP Servers\Vortex Roleplay\script\gamemodes\RP.pwn(12224 -- 12225) : warning 213: tag mismatch
D:\SAMP Servers\Vortex Roleplay\script\gamemodes\RP.pwn(12224 -- 12225) : warning 213: tag mismatch
D:\SAMP Servers\Vortex Roleplay\script\gamemodes\RP.pwn(12224 -- 12225) : warning 213: tag mismatch
D:\SAMP Servers\Vortex Roleplay\script\gamemodes\RP.pwn(12230 -- 12231) : warning 213: tag mismatch
D:\SAMP Servers\Vortex Roleplay\script\gamemodes\RP.pwn(12230 -- 12231) : warning 213: tag mismatch
D:\SAMP Servers\Vortex Roleplay\script\gamemodes\RP.pwn(12230 -- 12231) : warning 213: tag mismatch
D:\SAMP Servers\Vortex Roleplay\script\gamemodes\RP.pwn(12200) : warning 203: symbol is never used: "fZ"
D:\SAMP Servers\Vortex Roleplay\script\gamemodes\RP.pwn(12200) : warning 203: symbol is never used: "fY"
D:\SAMP Servers\Vortex Roleplay\script\gamemodes\RP.pwn(12200) : warning 203: symbol is never used: "fX"
D:\SAMP Servers\Vortex Roleplay\script\gamemodes\RP.pwn(32605) : error 001: expected token: "-identifier-", but found "-string-"
D:\SAMP Servers\Vortex Roleplay\script\gamemodes\RP.pwn(32608) : error 017: undefined symbol "NewFuelID"
D:\SAMP Servers\Vortex Roleplay\script\gamemodes\RP.pwn(32613) : error 035: argument type mismatch (argument 3)
D:\SAMP Servers\Vortex Roleplay\script\gamemodes\RP.pwn(32614) : error 017: undefined symbol "NewFuelID"
D:\SAMP Servers\Vortex Roleplay\script\gamemodes\RP.pwn(32615) : error 017: undefined symbol "NewFuelID"
D:\SAMP Servers\Vortex Roleplay\script\gamemodes\RP.pwn(32615) : error 006: must be assigned to an array
D:\SAMP Servers\Vortex Roleplay\script\gamemodes\RP.pwn(32616) : error 017: undefined symbol "NewFuelID"
D:\SAMP Servers\Vortex Roleplay\script\gamemodes\RP.pwn(32618) : error 017: undefined symbol "NewFuelID"
D:\SAMP Servers\Vortex Roleplay\script\gamemodes\RP.pwn(32619) : error 017: undefined symbol "NewFuelID"
D:\SAMP Servers\Vortex Roleplay\script\gamemodes\RP.pwn(32620) : error 017: undefined symbol "NewFuelID"
D:\SAMP Servers\Vortex Roleplay\script\gamemodes\RP.pwn(32621) : error 017: undefined symbol "NewFuelID"
D:\SAMP Servers\Vortex Roleplay\script\gamemodes\RP.pwn(33080) : error 001: expected token: "-identifier-", but found "-string-"
D:\SAMP Servers\Vortex Roleplay\script\gamemodes\RP.pwn(33081) : error 017: undefined symbol "Z"
D:\SAMP Servers\Vortex Roleplay\script\gamemodes\RP.pwn(33092) : error 035: argument type mismatch (argument 3)
D:\SAMP Servers\Vortex Roleplay\script\gamemodes\RP.pwn(34796) : error 021: symbol already defined: "IsKeyJustDown"
D:\SAMP Servers\Vortex Roleplay\script\gamemodes\RP.pwn(35362) : error 001: expected token: "-identifier-", but found "-string-"
D:\SAMP Servers\Vortex Roleplay\script\gamemodes\RP.pwn(35365) : error 035: argument type mismatch (argument 3)
D:\SAMP Servers\Vortex Roleplay\script\gamemodes\RP.pwn(35366) : error 035: argument type mismatch (argument 3)

Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


26 Errors.


Take it out, the errors go away.

Wat.

alexus
13/06/2015, 10:28 PM
The syntax is:


#include "../include/gl_common.inc"