27.05.2009, 14:27
Quote:
Originally Posted by [B2K
Hustler ]
I didn't use the line you gave but something simple like this? pawn Код:
|
I use it like this:
pawn Код:
#define MAX_TIMER 200
new TutTime = 0;
new TimerOfTut; //For killing timer when tutorial is ended
public TutTimer()
{
if(TutTime >= MAX_TIMER)TutTime = 0;
else TutTime++;
}
TimeOfTut = SetTimer("TutTimer",1000,true); // I tried without TimeOfTut - still doesn't work
if (TutTime == 0)
{
SystemMsg(playerid,"Welcome to San Fierro!");
}
if (TutTime == 7)
{
SystemMsg(playerid," ");
SystemMsg(playerid," ");
}
if (TutTime == 10)
{
SystemMsg(playerid,"This is a RolePlay server which means you have to act like in real life.");
KillTimer(TimerOfTut);
}
(It compiles without errors....)