24.03.2010, 20:55
i think i found out
:
i'll go see if it's alright
:Код:
public GameUpdate(playerid)
{
PlayerLoop(i)
{
if(GetPlayerScore(i) == 5)
{
pRank[playerid] = (i, 1);
}
if(GetPlayerScore(i) == 20)
{
pRank[playerid] = (i, 2);
}
if(GetPlayerScore(i) == 35)
{
pRank[playerid] = (i, 3);
}
if(GetPlayerScore(i) == 50)
{
pRank[playerid] = (i, 4);
}
if(GetPlayerScore(i) == 75)
{
pRank[playerid] = (i, 5);
}
if(GetPlayerScore(i) == 100)
{
pRank[playerid] = (i, 6);
}
if(GetPlayerScore(i) == 150)
{
pRank[playerid] = (i, 7);
}
if(GetPlayerScore(i) == 175)
{
pRank[playerid] = (i, 8);
}
if(GetPlayerScore(i) == 200)
{
pRank[playerid] = (i, 9);
}
if(GetPlayerScore(i) == 250)
{
pRank[playerid] = (i, 10);
}
if(GetPlayerScore(i) == 300)
{
pRank[playerid] = (i, 11);
}
if(GetPlayerScore(i) == 1000)
{
pRank[playerid] = (i, 12);
}
}
}

