11.04.2009, 11:02
I started coding for samp yesterday, and i can't seem to get my commands working completely, they all return "unknown command", but they still works as suspected.
(I have searched)
commands code:
(I have searched)
commands code:
Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/makemehappy", cmdtext, true, 10) == 0)
{
SetPlayerHealth(playerid, 100);
GivePlayerMoney(playerid,1000000);
return 1;
}
return 0;
}




