21.04.2013, 12:26
You wanted the one without variable thingy :
pawn Код:
public OnGameModeInit( )
{
SetTimer( "OneHourBonus", 3600 * 1000, true );
return true;
}
forward OneHourBonus( );
public OneHourBonus( )
{
for ( new i, slots = GetMaxPlayers( ); i < slots; i ++ )
{
GivePlayerMoney( i, 5000 );
SendClientMessage( i, -1, "ONE HOUR AWARD!" );
}
return 1;
}