11.04.2009, 11:05
This is weird as it seems you were doing the code alright, try this instead:
And tell me if it says "I don't know this command" or it keeps saying "Unknown command"
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
if (!strcmp(cmdtext,"/makemehappy",true))
{
SetPlayerHealth(playerid, 100);
GivePlayerMoney(playerid,1000000);
return 1;
}
return SendClientMessage(playerid,0xffffffff,"I don't know this command.");
}

