[Ajuda] Comando /kill
#2

pawn Code:
//Todo do GM:
new String[128];
new Nome[MAX_PLAYER_NAME];

//Comando:
CMD:kill(playerid)
{
    GetPlayerName(playerid, Nome, sizeof(Nome)); // Tem que usar esta funзгo para 'pegar' o nome do jogador
    SetPlayerHealth(playerid, 0);
    format(String, sizeof(String), "%s Se Matou! ( /kill )", Nome);
    SendClientMessageToAll(COR_TELEPORTE, String);
    return 1;
}
Reply


Messages In This Thread
Comando /kill - by Rhayziin - 08.09.2012, 18:01
Re: Comando /kill - by Douglas_prt - 08.09.2012, 18:04
Re: Comando /kill - by Rhayziin - 08.09.2012, 18:09
Re: Comando /kill - by Douglas_prt - 08.09.2012, 18:12
Re: Comando /kill - by Pedro_BML - 08.09.2012, 18:13
Re: Comando /kill - by Rhayziin - 08.09.2012, 18:32

Forum Jump:


Users browsing this thread: 1 Guest(s)