Compile error
#1

Hi,
I get the error shown on the wee log below and I got the cop-tools.inc for the script

Код:
C:\Users\Seany\Desktop\CR-RP\CR-RP(LS)\PAWNOEXE\include\cop-tools.inc(45) : error 017: undefined symbol "IsPlayerAttachedObjectSlotUsed"
C:\Users\Seany\Desktop\CR-RP\CR-RP(LS)\PAWNOEXE\include\cop-tools.inc(45) : error 017: undefined symbol "RemovePlayerAttachedObject"
C:\Users\Seany\Desktop\CR-RP\CR-RP(LS)\PAWNOEXE\include\cop-tools.inc(46) : error 017: undefined symbol "IsPlayerAttachedObjectSlotUsed"
C:\Users\Seany\Desktop\CR-RP\CR-RP(LS)\PAWNOEXE\include\cop-tools.inc(46) : error 017: undefined symbol "RemovePlayerAttachedObject"
C:\Users\Seany\Desktop\CR-RP\CR-RP(LS)\PAWNOEXE\include\cop-tools.inc(43) : warning 203: symbol is never used: "playerid"
C:\Users\Seany\Desktop\CR-RP\CR-RP(LS)\PAWNOEXE\include\cop-tools.inc(43 -- 51) : error 017: undefined symbol "IsPlayerAttachedObjectSlotUsed"
C:\Users\Seany\Desktop\CR-RP\CR-RP(LS)\PAWNOEXE\include\cop-tools.inc(43 -- 51) : fatal error 107: too many error messages on one line

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


6 Errors.
Reply
#2

Bump - This is urgent!
Reply
#3

You have to download new sa-mp 0.3c includes. www.sa-mp.com
Reply
#4

Now I get


Код:
C:\Users\Seany\Desktop\CR-RP\CR-RP(LS)\PAWNOEXE\include\streamer.inc(238) : warning 219: local variable "rx" shadows a variable at a preceding level
C:\Users\Seany\Desktop\CR-RP\CR-RP(LS)\PAWNOEXE\include\streamer.inc(238) : warning 219: local variable "ry" shadows a variable at a preceding level
C:\Users\Seany\Desktop\CR-RP\CR-RP(LS)\PAWNOEXE\include\streamer.inc(238) : warning 219: local variable "rz" shadows a variable at a preceding level
C:\Users\Seany\Desktop\CR-RP\CR-RP(LS)\PAWNOEXE\include\streamer.inc(250) : warning 219: local variable "rx" shadows a variable at a preceding level
C:\Users\Seany\Desktop\CR-RP\CR-RP(LS)\PAWNOEXE\include\streamer.inc(250) : warning 219: local variable "ry" shadows a variable at a preceding level
C:\Users\Seany\Desktop\CR-RP\CR-RP(LS)\PAWNOEXE\include\streamer.inc(250) : warning 219: local variable "rz" shadows a variable at a preceding level
C:\Users\Seany\Desktop\CR-RP\CR-RP(LS)\GameModes\GLRP.pwn(3997) : warning 217: loose indentation
C:\Users\Seany\Desktop\CR-RP\CR-RP(LS)\GameModes\GLRP.pwn(4011) : warning 217: loose indentation
C:\Users\Seany\Desktop\CR-RP\CR-RP(LS)\GameModes\GLRP.pwn(4417) : warning 217: loose indentation
C:\Users\Seany\Desktop\CR-RP\CR-RP(LS)\GameModes\GLRP.pwn(4432) : warning 217: loose indentation
C:\Users\Seany\Desktop\CR-RP\CR-RP(LS)\GameModes\GLRP.pwn(4486) : warning 217: loose indentation
C:\Users\Seany\Desktop\CR-RP\CR-RP(LS)\GameModes\GLRP.pwn(4580) : warning 217: loose indentation
C:\Users\Seany\Desktop\CR-RP\CR-RP(LS)\GameModes\GLRP.pwn(4590) : warning 217: loose indentation
C:\Users\Seany\Desktop\CR-RP\CR-RP(LS)\GameModes\GLRP.pwn(4708) : warning 217: loose indentation
C:\Users\Seany\Desktop\CR-RP\CR-RP(LS)\GameModes\GLRP.pwn(11584) : warning 217: loose indentation
C:\Users\Seany\Desktop\CR-RP\CR-RP(LS)\GameModes\GLRP.pwn(11622) : warning 217: loose indentation
C:\Users\Seany\Desktop\CR-RP\CR-RP(LS)\GameModes\GLRP.pwn(12598) : warning 217: loose indentation
C:\Users\Seany\Desktop\CR-RP\CR-RP(LS)\GameModes\GLRP.pwn(12599) : warning 217: loose indentation
C:\Users\Seany\Desktop\CR-RP\CR-RP(LS)\GameModes\GLRP.pwn(12643) : warning 204: symbol is assigned a value that is never used: "carid"
C:\Users\Seany\Desktop\CR-RP\CR-RP(LS)\GameModes\GLRP.pwn(12644) : warning 204: symbol is assigned a value that is never used: "tires"
C:\Users\Seany\Desktop\CR-RP\CR-RP(LS)\GameModes\GLRP.pwn(12642) : warning 203: symbol is never used: "lights"
C:\Users\Seany\Desktop\CR-RP\CR-RP(LS)\GameModes\GLRP.pwn(12642) : warning 203: symbol is never used: "doors"
C:\Users\Seany\Desktop\CR-RP\CR-RP(LS)\GameModes\GLRP.pwn(12642) : warning 203: symbol is never used: "panels"
C:\Users\Seany\Desktop\CR-RP\CR-RP(LS)\GameModes\GLRP.pwn(12659) : warning 204: symbol is assigned a value that is never used: "carid"
C:\Users\Seany\Desktop\CR-RP\CR-RP(LS)\GameModes\GLRP.pwn(12660) : warning 204: symbol is assigned a value that is never used: "tires"
C:\Users\Seany\Desktop\CR-RP\CR-RP(LS)\GameModes\GLRP.pwn(12658) : warning 203: symbol is never used: "lights"
C:\Users\Seany\Desktop\CR-RP\CR-RP(LS)\GameModes\GLRP.pwn(12658) : warning 203: symbol is never used: "doors"
C:\Users\Seany\Desktop\CR-RP\CR-RP(LS)\GameModes\GLRP.pwn(12658) : warning 203: symbol is never used: "panels"
C:\Users\Seany\Desktop\CR-RP\CR-RP(LS)\GameModes\GLRP.pwn(13578) : warning 217: loose indentation
C:\Users\Seany\Desktop\CR-RP\CR-RP(LS)\GameModes\GLRP.pwn(19243) : warning 217: loose indentation
C:\Users\Seany\Desktop\CR-RP\CR-RP(LS)\GameModes\GLRP.pwn(19321) : warning 217: loose indentation
C:\Users\Seany\Desktop\CR-RP\CR-RP(LS)\GameModes\GLRP.pwn(20646) : warning 217: loose indentation
C:\Users\Seany\Desktop\CR-RP\CR-RP(LS)\GameModes\GLRP.pwn(20665) : warning 217: loose indentation
C:\Users\Seany\Desktop\CR-RP\CR-RP(LS)\GameModes\GLRP.pwn(20735) : warning 217: loose indentation
C:\Users\Seany\Desktop\CR-RP\CR-RP(LS)\GameModes\GLRP.pwn(25020) : warning 217: loose indentation
C:\Users\Seany\Desktop\CR-RP\CR-RP(LS)\GameModes\GLRP.pwn(25046) : warning 217: loose indentation
C:\Users\Seany\Desktop\CR-RP\CR-RP(LS)\GameModes\GLRP.pwn(25071) : warning 217: loose indentation
C:\Users\Seany\Desktop\CR-RP\CR-RP(LS)\GameModes\GLRP.pwn(25117) : warning 217: loose indentation
C:\Users\Seany\Desktop\CR-RP\CR-RP(LS)\GameModes\GLRP.pwn(25131) : warning 217: loose indentation
C:\Users\Seany\Desktop\CR-RP\CR-RP(LS)\GameModes\GLRP.pwn(25163) : warning 217: loose indentation
C:\Users\Seany\Desktop\CR-RP\CR-RP(LS)\GameModes\GLRP.pwn(25165) : warning 217: loose indentation
C:\Users\Seany\Desktop\CR-RP\CR-RP(LS)\GameModes\GLRP.pwn(25194) : warning 217: loose indentation
C:\Users\Seany\Desktop\CR-RP\CR-RP(LS)\GameModes\GLRP.pwn(25197) : warning 217: loose indentation
C:\Users\Seany\Desktop\CR-RP\CR-RP(LS)\GameModes\GLRP.pwn(25200) : warning 217: loose indentation
C:\Users\Seany\Desktop\CR-RP\CR-RP(LS)\GameModes\GLRP.pwn(25212) : warning 217: loose indentation
C:\Users\Seany\Desktop\CR-RP\CR-RP(LS)\GameModes\GLRP.pwn(25217) : warning 217: loose indentation
C:\Users\Seany\Desktop\CR-RP\CR-RP(LS)\GameModes\GLRP.pwn(25230) : warning 217: loose indentation
C:\Users\Seany\Desktop\CR-RP\CR-RP(LS)\GameModes\GLRP.pwn(25234) : warning 217: loose indentation
C:\Users\Seany\Desktop\CR-RP\CR-RP(LS)\GameModes\GLRP.pwn(25242) : warning 217: loose indentation
C:\Users\Seany\Desktop\CR-RP\CR-RP(LS)\GameModes\GLRP.pwn(25270) : warning 217: loose indentation
C:\Users\Seany\Desktop\CR-RP\CR-RP(LS)\GameModes\GLRP.pwn(25282) : warning 217: loose indentation
C:\Users\Seany\Desktop\CR-RP\CR-RP(LS)\GameModes\GLRP.pwn(25935) : warning 217: loose indentation
C:\Users\Seany\Desktop\CR-RP\CR-RP(LS)\GameModes\GLRP.pwn(26709) : warning 217: loose indentation
C:\Users\Seany\Desktop\CR-RP\CR-RP(LS)\GameModes\GLRP.pwn(26735) : warning 217: loose indentation
C:\Users\Seany\Desktop\CR-RP\CR-RP(LS)\GameModes\GLRP.pwn(26764) : warning 217: loose indentation
C:\Users\Seany\Desktop\CR-RP\CR-RP(LS)\GameModes\GLRP.pwn(26766) : warning 204: symbol is assigned a value that is never used: "vehicle"
C:\Users\Seany\Desktop\CR-RP\CR-RP(LS)\GameModes\GLRP.pwn(30238) : warning 204: symbol is assigned a value that is never used: "rands"
C:\Users\Seany\Desktop\CR-RP\CR-RP(LS)\GameModes\GLRP.pwn(41925) : warning 217: loose indentation
C:\Users\Seany\Desktop\CR-RP\CR-RP(LS)\GameModes\GLRP.pwn(41967) : warning 217: loose indentation
C:\Users\Seany\Desktop\CR-RP\CR-RP(LS)\GameModes\GLRP.pwn(43530) : warning 204: symbol is assigned a value that is never used: "result"
C:\Users\Seany\Desktop\CR-RP\CR-RP(LS)\GameModes\GLRP.pwn(44361) : warning 203: symbol is never used: "PlayerDrunk"
C:\Users\Seany\Desktop\CR-RP\CR-RP(LS)\GameModes\GLRP.pwn(44361) : warning 203: symbol is never used: "iOrder"
C:\Users\Seany\Desktop\CR-RP\CR-RP(LS)\GameModes\GLRP.pwn(16184) : warning 204: symbol is assigned a value that is never used: "iTGB"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


63 Warnings.
Reply
#5

bump - Urgent
Reply
#6

pawn Код:
#pragma tabsize 0
below includes
Reply
#7

now i got

Код:
C:\Users\Seany\Desktop\CR-RP\CR-RP(LS)\GameModes\GLRP.pwn(12643) : warning 204: symbol is assigned a value that is never used: "carid"
C:\Users\Seany\Desktop\CR-RP\CR-RP(LS)\GameModes\GLRP.pwn(12644) : warning 204: symbol is assigned a value that is never used: "tires"
C:\Users\Seany\Desktop\CR-RP\CR-RP(LS)\GameModes\GLRP.pwn(12642) : warning 203: symbol is never used: "lights"
C:\Users\Seany\Desktop\CR-RP\CR-RP(LS)\GameModes\GLRP.pwn(12642) : warning 203: symbol is never used: "doors"
C:\Users\Seany\Desktop\CR-RP\CR-RP(LS)\GameModes\GLRP.pwn(12642) : warning 203: symbol is never used: "panels"
C:\Users\Seany\Desktop\CR-RP\CR-RP(LS)\GameModes\GLRP.pwn(12659) : warning 204: symbol is assigned a value that is never used: "carid"
C:\Users\Seany\Desktop\CR-RP\CR-RP(LS)\GameModes\GLRP.pwn(12660) : warning 204: symbol is assigned a value that is never used: "tires"
C:\Users\Seany\Desktop\CR-RP\CR-RP(LS)\GameModes\GLRP.pwn(12658) : warning 203: symbol is never used: "lights"
C:\Users\Seany\Desktop\CR-RP\CR-RP(LS)\GameModes\GLRP.pwn(12658) : warning 203: symbol is never used: "doors"
C:\Users\Seany\Desktop\CR-RP\CR-RP(LS)\GameModes\GLRP.pwn(12658) : warning 203: symbol is never used: "panels"
C:\Users\Seany\Desktop\CR-RP\CR-RP(LS)\GameModes\GLRP.pwn(26766) : warning 204: symbol is assigned a value that is never used: "vehicle"
C:\Users\Seany\Desktop\CR-RP\CR-RP(LS)\GameModes\GLRP.pwn(30238) : warning 204: symbol is assigned a value that is never used: "rands"
C:\Users\Seany\Desktop\CR-RP\CR-RP(LS)\GameModes\GLRP.pwn(38286) : error 017: undefined symbol "PutRiotShieldOnBack"
C:\Users\Seany\Desktop\CR-RP\CR-RP(LS)\GameModes\GLRP.pwn(38303) : error 017: undefined symbol "RemoveItems"
C:\Users\Seany\Desktop\CR-RP\CR-RP(LS)\GameModes\GLRP.pwn(38320) : error 017: undefined symbol "GiveTazer"
C:\Users\Seany\Desktop\CR-RP\CR-RP(LS)\GameModes\GLRP.pwn(38337) : error 017: undefined symbol "GiveFlashLight"
C:\Users\Seany\Desktop\CR-RP\CR-RP(LS)\GameModes\GLRP.pwn(38354) : error 017: undefined symbol "PutRiotShieldOnArm"
C:\Users\Seany\Desktop\CR-RP\CR-RP(LS)\GameModes\GLRP.pwn(43530) : warning 204: symbol is assigned a value that is never used: "result"
C:\Users\Seany\Desktop\CR-RP\CR-RP(LS)\GameModes\GLRP.pwn(44361) : warning 203: symbol is never used: "PlayerDrunk"
C:\Users\Seany\Desktop\CR-RP\CR-RP(LS)\GameModes\GLRP.pwn(44361) : warning 203: symbol is never used: "iOrder"
C:\Users\Seany\Desktop\CR-RP\CR-RP(LS)\GameModes\GLRP.pwn(16184) : warning 204: symbol is assigned a value that is never used: "iTGB"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


5 Errors.
Reply
#8

Have you correctly defined everything and have all the correct variables?
Reply
#9

Quote:
Originally Posted by Nicolas_Castillo
Посмотреть сообщение
pawn Код:
#pragma tabsize 0
below includes
off topic : stop teaching players to be lazy teach him what the warning mean

on topic :
loose indentation means :

pawn Код:
public OnPlayerConnect(playerid)
{
        SendClientMessage(playerid,COLOR_TEST,"Welcome");
            return 1;
    }
to fix it , it should be :
pawn Код:
public OnPlayerConnect(playerid)
{
    SendClientMessage(playerid,COLOR_TEST,"Welcome");
    return 1;
}
and warning like : "symbol is never used"
that u defined a function but u didnt use it like "new Car;" but u never used it in anything
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)