Ajuda - Alguns bugs
#2

OnPlayerDeath

pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
    SetPlayerWantedLevel(killerid, GetPlayerWantedLevel(killerid) +1);
    SetPlayerHealth(killerid, 100.0);
    SetPlayerArmour(killerid, 100.0);
    SetPlayerScore(killerid, GetPlayerScore(killerid) + 1);
    new string[128], killername[128], vname[128];
    GetPlayerName(playerid, vname, sizeof(vname));
    GetPlayerName(killerid, killername, sizeof(killername));
    format(string, sizeof(string), "%s matou %s", killername, vname);
    SendClientMessageToAll(CorBranco, string);
    return 1;
}
Reply


Messages In This Thread
Ajuda - Alguns bugs - by arakuta - 25.01.2011, 12:36
Re: Ajuda - Alguns bugs - by Falcon. - 25.01.2011, 12:51
Re: Ajuda - Alguns bugs - by arakuta - 25.01.2011, 14:21
Re: Ajuda - Alguns bugs - by Macintosh - 25.01.2011, 14:48
Re: Ajuda - Alguns bugs - by arakuta - 25.01.2011, 16:16
Re: Ajuda - Alguns bugs - by Macintosh - 25.01.2011, 17:35
Re: Ajuda - Alguns bugs - by [BR]Michael - 25.01.2011, 18:04

Forum Jump:


Users browsing this thread: 1 Guest(s)