17.06.2011, 08:08
i have advertisements in my server, but 2 advertisements show up on 1 time, the timer is 30000
public Advertisements()
{
new dice = random(8)+1;
ad = dice;
Advertisements2();
return 1;
}
public Advertisements2()
{
new string[255];
new ftext[255];
if(ad == 1) { ftext = "/help."; }
else if(ad == 2) { ftext = "shop."; }
else if(ad == 3) { ftext = ":D:D:D"; }
else if(ad == 4) { ftext = "ohd."; }
else if(ad == 5) { ftext = "Advert"; }
else if(ad == 6) { ftext = "wewq"; }
else if(ad == 7) { ftext = "adad"; }
else if(ad == 8) { ftext = " faf"; }
format(string, sizeof(string), "%s", ftext);
SendClientMessageToAll(COLOR_LIGHTBLUE, string);
return 1;
}