14.07.2011, 19:11
pawn Код:
forward ScoreSystem( );
public ScoreSystem( )
{
foreach(Player,i)
if(IsPlayerInPlane(i) && GetPlayerSpeed(i, > 50))
{
GivePlayerMoney(i,2000);
SetPlayerScore(i,GetPlayerScore(i) + 1);
SendClientMessage(i, COLOR_RED, "One flying minute. 1 Score + 2k cash.");
}
return 1;
}