Command typed and nothing is happening and no message error.
#1

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;
}
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)