advertisement
#1

Hello,i need help,how to make a advertisement on my server,to every few minutes send massages to players whit server forum or ip,but i dont know have to make that.


Sorry for bad English
Reply
#2

You need to make some NPC Mods got it.
Reply
#3

pawn Код:
// top of script

new RandomMSG[][] =
{
    "Come to this great stunt server! IP: ip_here",
    "Visit the server forums here: forum_site.com",
    "other ip's here",
    "other forum addresses here"
};

// ongamemodeinit

SetTimer("SendMSG", 60000, true); // sends every minute

// bottom of script

forward SendMSG();
public SendMSG()
{
    new randMSG = random(sizeof(RandomMSG)); //calculates the size of RandomMSG (which is 3)
    SendClientMessageToAll(-1, RandomMSG[randMSG]); // Replace the "color" with your defined color.
    return 1;
}
Reply
#4

http://forum.sa-mp.com/showthread.ph...Random+message

This is good one.

Also http://forum.sa-mp.com/showthread.ph...ghlight=Random
Reply
#5

Ok,thanks,lock this
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)