01.07.2016, 13:44
When i typed a command nothing is happening, even showing a mesage. what is the reason of that and how to fix this? thanks
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/kill", cmdtext, true, 10) == 0)
{
SetPlayerHealth(playerid, 0.0);
SendClientMessage(playerid, 0x00FF00FF, "You respawned!");
return 1;
}
return 0;
}
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/kill", cmdtext, true, 10) == 0)
{
SetPlayerHealth(playerid, 0.0);
SendClientMessage(playerid, 0x00FF00FF, "You respawned!");
return 1;
}
return 0;
}