what's wrong?
#1

Quote:

if(GetPlayerScore(playerid) > 9999){
SetPlayerHealth(playerid, 100);}
else if(GetPlayerScore(playerid) > 19999){
SetPlayerHealth(playerid, 110);}
else if(GetPlayerScore(playerid) > 29999){
SetPlayerHealth(playerid, 115);}
else if(GetPlayerScore(playerid) > 39999){
SetPlayerHealth(playerid, 125);}
else if(GetPlayerScore(playerid) > 49999){
SetPlayerHealth(playerid, 130);}
else if(GetPlayerScore(playerid) > 99999){
SetPlayerHealth(playerid, 140);
SetPlayerArmour(playerid, 30};}
else if(GetPlayerScore(playerid) > 299999){
SetPlayerHealth(playerid, 145);
SetPlayerArmour(playerid, 60};}
else if(GetPlayerScore(playerid) > 499999){
SetPlayerHealth(playerid, 150);
SetPlayerArmour(playerid, 99};}

and i get 13errors. ( idk why.. :( ) when i delete it, - no errors.
Quote:

data/dutils.inc(28) : warning 219: local variable "string" shadows a variable at a preceding level
data/dutils.inc(132) : warning 219: local variable "string" shadows a variable at a preceding level
data/dutils.inc(172) : warning 219: local variable "string" shadows a variable at a preceding level
data/dutils.inc(280) : warning 219: local variable "string" shadows a variable at a preceding level
data/dutils.inc(337) : warning 219: local variable "string" shadows a variable at a preceding level
data/dutils.inc(379) : warning 219: local variable "string" shadows a variable at a preceding level
data/playerDB.txt(121) : warning 219: local variable "msg" shadows a variable at a preceding level
data/functions.txt(30) : warning 219: local variable "string" shadows a variable at a preceding level
data/functions.txt(223) : warning 219: local variable "file" shadows a variable at a preceding level
data/functions.txt(229) : warning 219: local variable "string" shadows a variable at a preceding level
data/functions.txt(274) : warning 219: local variable "msg" shadows a variable at a preceding level
data/functions.txt(295) : warning 219: local variable "string" shadows a variable at a preceding level
data/functions.txt(352) : warning 219: local variable "name" shadows a variable at a preceding level
data/houseDB.txt(120) : warning 219: local variable "file" shadows a variable at a preceding level
data/mobilus.txt(7) : warning 219: local variable "name" shadows a variable at a preceding level
data/mobilus.txt(29) : warning 219: local variable "msg" shadows a variable at a preceding level
data/mobilus.txt(42) : warning 219: local variable "name" shadows a variable at a preceding level
C:\Documents and Settings\Admin\Desktop\Andriaus\Serveriai\rLKG\paw no\include\audio.inc(130) : warning 219: local variable "name" shadows a variable at a preceding level
C:\Documents and Settings\Admin\Desktop\Andriaus\Serveriai\rLKG\gam emodes\rLKG.pwn(616) : error 001: expected token: ",", but found "}"
C:\Documents and Settings\Admin\Desktop\Andriaus\Serveriai\rLKG\gam emodes\rLKG.pwn(616) : error 036: empty statement
C:\Documents and Settings\Admin\Desktop\Andriaus\Serveriai\rLKG\gam emodes\rLKG.pwn(617) : error 010: invalid function or declaration
C:\Documents and Settings\Admin\Desktop\Andriaus\Serveriai\rLKG\gam emodes\rLKG.pwn(620) : error 010: invalid function or declaration
C:\Documents and Settings\Admin\Desktop\Andriaus\Serveriai\rLKG\gam emodes\rLKG.pwn(640) : error 021: symbol already defined: "format"
C:\Documents and Settings\Admin\Desktop\Andriaus\Serveriai\rLKG\gam emodes\rLKG.pwn(642) : error 010: invalid function or declaration
C:\Documents and Settings\Admin\Desktop\Andriaus\Serveriai\rLKG\gam emodes\rLKG.pwn(645) : error 010: invalid function or declaration
C:\Documents and Settings\Admin\Desktop\Andriaus\Serveriai\rLKG\gam emodes\rLKG.pwn(647) : error 010: invalid function or declaration
C:\Documents and Settings\Admin\Desktop\Andriaus\Serveriai\rLKG\gam emodes\rLKG.pwn(652) : error 010: invalid function or declaration
C:\Documents and Settings\Admin\Desktop\Andriaus\Serveriai\rLKG\gam emodes\rLKG.pwn(655) : error 021: symbol already defined: "dini_IntSet"
C:\Documents and Settings\Admin\Desktop\Andriaus\Serveriai\rLKG\gam emodes\rLKG.pwn(655) : warning 215: expression has no effect
C:\Documents and Settings\Admin\Desktop\Andriaus\Serveriai\rLKG\gam emodes\rLKG.pwn(655) : error 001: expected token: ";", but found ")"
C:\Documents and Settings\Admin\Desktop\Andriaus\Serveriai\rLKG\gam emodes\rLKG.pwn(655) : error 021: symbol already defined: "dini_IntSet"
C:\Documents and Settings\Admin\Desktop\Andriaus\Serveriai\rLKG\gam emodes\rLKG.pwn(655 -- 656) : fatal error 107: too many error messages on one line

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


13 Errors.

Reply


Messages In This Thread
what's wrong? - by AndriusZ* - 27.08.2010, 22:06
Re: what's wrong? - by Adil - 27.08.2010, 22:20
Re: what's wrong? - by AndriusZ* - 27.08.2010, 22:32
Re: what's wrong? - by Adil - 27.08.2010, 22:41
Re: what's wrong? - by AndriusZ* - 27.08.2010, 22:43

Forum Jump:


Users browsing this thread: 1 Guest(s)