02.02.2014, 18:14
comando kill com comtagem tipo o cara digita /kill ae fala espere 10 segundos parado e o server ira le mata
ajuda
cmd
================================================== ==
if (strcmp("/kill", cmdtext, true, 10) == 0)
{
SetPlayerHealth(playerid, 0);
new pname[MAX_PLAYER_NAME];
GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
format(string, sizeof(string), "%s se {FF00FF}matou {FF0000}( /kill )", pname);
SendClientMessageToAll(COLOR_YELLOW, string);
return 1;
}
================================================== ===
ajuda
cmd
================================================== ==
if (strcmp("/kill", cmdtext, true, 10) == 0)
{
SetPlayerHealth(playerid, 0);
new pname[MAX_PLAYER_NAME];
GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
format(string, sizeof(string), "%s se {FF00FF}matou {FF0000}( /kill )", pname);
SendClientMessageToAll(COLOR_YELLOW, string);
return 1;
}
================================================== ===