31.01.2013, 14:58
(
Последний раз редактировалось Admigo; 31.01.2013 в 15:35.
)
Hi all,
I have a problem with my gamemode.
Sometimes when someone is joining on the server
this timer wont continue anymore(The timer stops).
When i reconnect server the timer continues.
I dont kill the timer.
How can i fix this?
I also using all filterscripts in one gamemode like house and vehicle system.
Is that a problem?
Thanks Admigo
I have a problem with my gamemode.
Sometimes when someone is joining on the server
this timer wont continue anymore(The timer stops).
When i reconnect server the timer continues.
pawn Код:
forward OneSecondTimer();
//ongamemodeinit
SetTimer("OneSecondTimer",1000,1);//An One Second Timer That Keeps Running On The Server
//
public OneSecondTimer()//
{
for(new i=0; i<MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
if(Variable[i]>0)
{
Variable[i]--;
}
}
}
}
How can i fix this?
I also using all filterscripts in one gamemode like house and vehicle system.
Is that a problem?
Thanks Admigo