[Ajuda] erro no onplayerdeath
#5

pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
    if(IsPlayerInAnyVehicle(playerid))
    {
        DestroyVehicle(GetPlayerVehicleID(playerid));
    }
    UFO[playerid] = false;

    if(!IsPlayerConnected(killerid))
    {
        new string[64];

        format(string,sizeof(string),"Player %s morreu sozinho!",GetPlayerNameEx(playerid));
        SendClientMessageToAll(COLOR_GREEN,string);

        PlayerInfo[playerid][Deaths]++;
    }
    return 1;
}
Reply


Messages In This Thread
erro no onplayerdeath - by iTzDemon - 22.10.2013, 18:16
Re: erro no onplayerdeath - by BielCOP - 22.10.2013, 18:20
Re: erro no onplayerdeath - by PT - 22.10.2013, 18:21
Re: erro no onplayerdeath - by iTzDemon - 22.10.2013, 18:23
Re: erro no onplayerdeath - by BielCOP - 22.10.2013, 18:26

Forum Jump:


Users browsing this thread: 1 Guest(s)