20.05.2012, 09:14
Exactly as it says , function is invalid... But it could be a bracket ( { and } )
So try:
So try:
pawn Код:
if(pStats[playerid][pK6ht] >= 120)
{
TextDrawSetString(txtK6ht[playerid], FixGameText("~w~Kхht: ~n~~g~Pungil", 32));
}
else if(80 <= pStats[playerid][pK6ht] <= 80)
{
TextDrawSetString(txtK6ht[playerid], FixGameText("~w~Kхht: ~n~~y~Tдis", 32));
}
else if(pStats[playerid][pK6ht] <= 30)
{
TextDrawSetString(txtK6ht[playerid], FixGameText("~w~Kхht: ~n~~r~Tьhi", 32));
}
TextDrawShowForPlayer(playerid, txtK6ht[playerid]);
}
return 1;
}