23.01.2011, 11:45
Ok,im making class dialogs and i need help.
What's wrong?I can choose this class even if i have 50 score :/
pawn Код:
if(listitem == 1) // Suck
{
if(GetPlayerScore(playerid) < 90)
{
SendClientMessage(playerid, 0xFFFFFF, "Need 90score.");
return 0;
}
else if(GetPlayerScore(playerid) > 90)
{
SetPlayerArmour(playerid, 100.0);
}
}