24.11.2013, 16:36
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;
}