25.11.2016, 16:39
guys i am new to those commands includes can anyone give me a standard command with them like /heal ,??
i can do it like this:
But i want to know how to do it with zcmd or sscanf can anyone post some examples.
i can do it like this:
Code:
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/heal", cmdtext, true, 5) == 0)
{
SetPlayerHealth(playerid, 100);
return 1;
}


