[BEGINNER] Whats wrong with this job command?
#14

OnGameModeInit:
pawn Код:
SetTimer("DrivePay", 60000, true);
pawn Код:
public DrivePay()
{
    for(new i = 0; i < MAX_PLAYERS; i++)
    {                              
        if(IsPlayerConnected(i))
        {
            if(GetVehicleModel(GetPlayerVehicleID(i)) == 420)
            {
                GivePlayerMoney(i, 800);
            }
        }
    }
}
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)