[HELP] Simple question.
#3

pawn Код:
C:\Users\Xsyiaris\Documents\VPS\Penitentiary Roleplay\gamemodes\PRP.pwn(4264) : warning 219: local variable "Armour" shadows a variable at a preceding level
C:\Users\Xsyiaris\Documents\VPS\Penitentiary Roleplay\gamemodes\PRP.pwn(4265) : error 035: argument type mismatch (argument 2)
C:\Users\Xsyiaris\Documents\VPS\Penitentiary Roleplay\gamemodes\PRP.pwn(4266) : warning 213: tag mismatch
C:\Users\Xsyiaris\Documents\VPS\Penitentiary Roleplay\gamemodes\PRP.pwn(4266) : warning 213: tag mismatch
C:\Users\Xsyiaris\Documents\VPS\Penitentiary Roleplay\gamemodes\PRP.pwn(4264) : warning 203: symbol is never used: "Armour"
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase
Errors....

The code:

pawn Код:
new string[64]; //Line 4263
            new Float:Armour; //Line 4264
            GetPlayerArmour(playerid,Armour); //Line 4265
            SetPlayerArmour(playerid,Armour + 5); //Line 4266
            format(string, sizeof(string), "* %s takes out a lighter and a joint and smokes it", GetICName(playerid)); //Line 4267
            SendNearByMessage(playerid, ACTION_COLOR, string, 10); //Line 4268
            SetPlayerDrunkLevel (playerid, 4500); //Line 4269
            SetTimer("CurrentlyHigh", 180000, false); //Line 4270
            PlayerStat[playerid][Joint]--; //Line 4271
Reply


Messages In This Thread
[HELP] Simple question. - by $Marco$ - 29.11.2013, 09:53
Re: [HELP] Simple question. - by Ballu Miaa - 29.11.2013, 09:57
Re: [HELP] Simple question. - by $Marco$ - 29.11.2013, 10:04
Re: [HELP] Simple question. - by Konstantinos - 29.11.2013, 10:07
Re: [HELP] Simple question. - by $Marco$ - 29.11.2013, 10:14

Forum Jump:


Users browsing this thread: 1 Guest(s)