07.05.2013, 15:53
Well, there's a little problem it supposed to be when I write "HESOYAM" it gives me the reward, but something is wrong cause if I only write "h" it gives me the reward here's the lines
pawn Код:
if(strcmp("hesoyam",text,false,1) == 0 && CanUseCheats[playerid] == true)
{
cmd_hesoyam(playerid, "");
return 0;
}
//=====================cmd=====================
CMD:hesoyam(playerid, params[])
{
SetPlayerArmour(playerid, 100);
SetPlayerHealth(playerid, 100);
GivePlayerMoney(playerid, 250000);
CheatTD(playerid);
return 1;
}