[Ajuda] Comando /dar
#3

pawn Код:
CMD:dartobirama(playerid, params[]) {

    if(!IsPlayerAdmin(playerid))
        return SendClientMessage(playerid, CINZA, "Logue-se na Rcon para usar este comando.");
       
    new targetid;
    if(sscanf(params, "u", targetid))
        return SendClientMessage(playerid, Sucesso, "[USO] {FFFFFF}/dartobirama [playerid]");
       
    if(!IsPlayerConnected(targetid))
        return SendClientMessage(playerid, Sucesso, "[NGO] {FFFFFF}Esse jogador nгo estб conectado!");
       
    new name[25], string[129];
    GetPlayerName(targetid, name, sizeof name);
   
    format(string, sizeof string, "[NGO] {FFFFFF}Vocк virou Tobirama Senju {10f441}%s{ffffff}!", name);
    SendClientMessage(targetid, Sucesso, string);
   
    format(string, sizeof string, "[NGO] {ffffff}O administrador {10f441}%s {ffffff}Setou Tobirama pra vocк!", name);
    SendClientMessage(targetid, Sucesso, string);
   
    SetPlayerSkin(targetid, 197);

    SetPlayerHealth(targetid, 500);
    SetPlayerArmour(targetid, 300);
   
    GivePlayerWeapon(targetid, 42, 99999);
    GivePlayerWeapon(targetid, 16, 99999);
    return 1;
}
Reply


Messages In This Thread
Comando /dar - by UzumakiNaruto - 24.11.2013, 16:28
Respuesta: Comando /dar - by cantiliano - 24.11.2013, 16:32
Re: Comando /dar - by zPain - 24.11.2013, 16:36
Re: Comando /dar - by SkullFire - 24.11.2013, 16:46

Forum Jump:


Users browsing this thread: 1 Guest(s)