25.06.2012, 22:44
Tenta agora.
pawn Код:
if(ZumbiMaster[playerid] == playerid)
{
SetPlayerInterior(killerid,0);
ResetPlayerWeapons(killerid); // So vai resetar a do killerid.
SetPlayerSkin(killerid, 160);
GivePlayerWeapon(killerid, 38, 9999);
SetPlayerArmour(killerid, 150);
SetPlayerHealth(killerid, 100);
GivePlayerMoney(playerid, -500);
GivePlayerMoney(killerid, 6000);
new morreu [24];
new matou [24];
GetPlayerName(killerid, matou, 24);
GetPlayerName(playerid, morreu, 24);
format(string, 128, "O jogador %s matou ZumbiMaster %s e ganhou 6000R$", matou, morreu);
SendClientMessageToAll(COLOR_DBLUE, string);
TogglePlayerControllable(killerid, true);
return 1;
}