28.10.2012, 17:35
Also GTAkiller yea from FMJ
Also,I did this 1 because I am not using it as a tp cmd.
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/kill", cmdtext, true, 5) == 0)
{
SetPlayerHealth(playerid, 0);//Setting the player's health to 0 which will kill him.
SendClientMessage(playerid, -1, "You have committed suicide!");//Sending him a message.
return 1;
}
return 0;
}
I will also need to add a /ban cmd so can you add that command? Also,I need a kick but for this can you make it where if a regular player try it he cant.Because,I will need a admin system also.
Also,I did this 1 because I am not using it as a tp cmd.
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/kill", cmdtext, true, 5) == 0)
{
SetPlayerHealth(playerid, 0);//Setting the player's health to 0 which will kill him.
SendClientMessage(playerid, -1, "You have committed suicide!");//Sending him a message.
return 1;
}
return 0;
}
I will also need to add a /ban cmd so can you add that command? Also,I need a kick but for this can you make it where if a regular player try it he cant.Because,I will need a admin system also.