Compiling Errors.
#1

Hi SA-MP Community,
Please help me i have the following errors in my TDM script.

WARNINGS:
E:\Faisal\Servers\SAMP 0.3d SERVER\gamemodes\test.pwn(1174) : warning 203: symbol is never used: "Ammo"
E:\Faisal\Servers\SAMP 0.3d SERVER\gamemodes\test.pwn(1174) : warning 203: symbol is never used: "Hospital"
E:\Faisal\Servers\SAMP 0.3d SERVER\gamemodes\test.pwn(1174) : warning 203: symbol is never used: "LAX"
E:\Faisal\Servers\SAMP 0.3d SERVER\gamemodes\test.pwn(1174) : warning 203: symbol is never used: "OilRig"
E:\Faisal\Servers\SAMP 0.3d SERVER\gamemodes\test.pwn(1174) : warning 203: symbol is never used: "WeaponRefillAfghanistan"
E:\Faisal\Servers\SAMP 0.3d SERVER\gamemodes\test.pwn(1174) : warning 203: symbol is never used: "WeaponRefillGermany"
E:\Faisal\Servers\SAMP 0.3d SERVER\gamemodes\test.pwn(1174) : warning 203: symbol is never used: "WeaponRefillJapan"
E:\Faisal\Servers\SAMP 0.3d SERVER\gamemodes\test.pwn(1174) : warning 203: symbol is never used: "WeaponRefillRussia"
E:\Faisal\Servers\SAMP 0.3d SERVER\gamemodes\test.pwn(1174) : warning 203: symbol is never used: "WeaponRefillUSA"
E:\Faisal\Servers\SAMP 0.3d SERVER\gamemodes\test.pwn(1174) : warning 203: symbol is never used: "gTeam"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase



AFTER FIXING THESE WARNINGS I HAVE ERRORS IN THE CAPTURING OF PROGRESS BAR OR SOMETHING LIKE THAT Please can you fix these both errors.

MY GM:
http://pastebin.com/gFTxt3cr



Waiting for your reply.
Reply
#2

you defined these, but never used them
pawn Код:
new gTeam[MAX_PLAYERS];
new WeaponRefillRussia;
new WeaponRefillUSA;
new WeaponRefillAfghanistan;
new WeaponRefillGermany;
new WeaponRefillJapan;
new LAX;
new Hospital;
new Ammo;
new OilRig;
so either use them, or comment them out
Reply
#3

Hey I deleted all the lines u said but when i loaded the script and run the server.exe it showed an error check this out:

SRRY THE PIC IS NOT VISIBLE NEW URL UPDTAED

http://farm8.staticflickr.com/7051/6...6b1acdc0_m.jpg

Waiting for your reply.
Reply
#4

Too Short Pic... Can't see .....
Reply
#5

srry i have some problems here on my paint i think

THE error:

Script[gamemodes/test.amx]: Run time error 20: "Invalid index parameter <bad entry point>"
Reply
#6

Help me guyz....
Reply
#7

Open your Gamemode and add this.
pawn Код:
main( ) { }
Reply
#8

same error
Reply
#9

The error appears when the main() {} missing. Are you sure you ran pawno.exe opened the Gamemode you are using on the server.cfg and not another and compiled it. Because you did something wrong.
Reply
#10

LOL man i am not such a noob!
I did it right.
Hope u find the problem
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)