One question
#2

So you want you're server to say a random message every two minutes saying "If you want a driving license, you should go see driving teacher (name)." ?


You would have to create a 2 minute timer that keeps repeating.

Код:
forward TwoMinutePublic();
Код:
new stock TwoMinuteTimer();
Код:
public TwoMinutePublic()
{
     new id;
     SendClientMessageToAll(WHITE, "If you want to get a driving license, visit driving teacher (name)");
     return 1;
}
Код:
public OnGameModeInit()
{
     TwoMinuteTimer = SetTimer("TwoMinutePublic", 120000, true);
     return 1;
}
I dont really know if this helps you much because i dont really know what you're trying to ask, hopefully i helped you. If you have any questions please PM me and i can most likely help you with any scripting issues you might have. Have a nice day (;
Reply


Messages In This Thread
One question - by Setkus - 07.01.2012, 14:53
Re : One question - by rbcrp - 07.01.2012, 15:12
Re: One question - by Setkus - 07.01.2012, 17:39
Re : One question - by rbcrp - 08.01.2012, 03:01
AW: One question - by BigETI - 08.01.2012, 03:57

Forum Jump:


Users browsing this thread: 2 Guest(s)