Speed
#1

PHP код:
//OnPlayerSpawn
SetTimer("RandBotMsgs"20000true); 
PHP код:
new bmsgTDswitch;
forward RandBotMsgs();
public 
RandBotMsgs()
{
    ForEach(
iMAX_PLAYERS)
    {
    if(
IsPlayerConnected(i))
    {
    
bmsgTDswitch ++;
    switch(
bmsgTDswitch)
    {
        case 
1:
        {
        
TextDrawSetString(Textdraw7,"Welcome to ZoneX Enjoy your stay don't forget to add our server to your favorites~n~~n~~n~");
        }
        case 
2:
        {
        
Topscore();
        }
        case 
3:
        {
        
Topcash();
        }
    case 
4:
    {
        
TextDrawSetString(Textdraw7,"Read ~g~/rules~w~ to avoid getting banned from our server~n~~n~~n~");
        
bmsgTDswitch 0;
    }
      }
          }
      }
    return 
true;

When there is 2 players or more the textdraw be very fast not 8 seconds
Reply


Messages In This Thread
Speed - by Loinal - 05.05.2017, 21:43
Re: Speed - by CobraWoW - 05.05.2017, 22:06
Re: Speed - by Vince - 06.05.2017, 08:46

Forum Jump:


Users browsing this thread: 2 Guest(s)