13.06.2013, 10:20
help i creating coins system but, i got these error ^^
CODE
stock code
ERROR LINE
CODE
pawn Код:
CMD:healme(playerid,params[])
{
if(GetPlayerCoins == 1)//error line
{
SetPlayerHealth(playerid,100);
SetPlayerArmour(playerid,100);
SendClientMessage(playerid,-1,"You Was healed !");
GivePlayerCoins(playerid,-1);
}
SendClientMessage(playerid,-1,"You Must Have 1 Coin To Heal Yourself !");
return 1;
}
pawn Код:
stock GetPlayerCoins(playerid,amount)
{
PlayerInfo[playerid][pCoins] < amount)
return 1;
}
ERROR LINE
pawn Код:
if(GetPlayerCoins == 1)