How to get name from score
#3

pawn Код:
new Ministry[MAX_PLAYERS];

public OnPlayerDeath(playerid, killerid, reason)
{
    if(Ministry[killerid] != 1)
    {
        do your shit here to check like getscore n shit
    }
}
public OnPlayerConnect(playerid)
{
    if(GetPlayerScore(playerid) >= 500)
    {
        Ministry[playerid] = 1;
    }
    if(GetPlayerScore(playerid) < 500) Ministry[playerid] = 0;
}
Reply


Messages In This Thread
How to get name from score - by [LHT]Bally - 08.12.2011, 03:58
Re: How to get name from score - by THE_KNOWN - 08.12.2011, 04:34
Re: How to get name from score - by [ABK]Antonio - 08.12.2011, 06:02
Re: How to get name from score - by Rob_Maate - 08.12.2011, 07:41

Forum Jump:


Users browsing this thread: 1 Guest(s)