message for sever
#1

Hi there im looking for a sceipt that will allow me to do this....


Hello and Welcome tpye /cmd for commands
120sec delay
Vist us at www.arctic-severs.com
120sec delay
Follow The Rules
120sec delay

and so on

but i dont whant it on main screan just the clientseend message stuff

if someone could help me that would be nice
Reply
#2

https://sampwiki.blast.hk/wiki/Random_Messages
Reply
#3

thx for the help swift ur always there
Reply
#4

Quote:
Originally Posted by sggassasin
thx for the help swift ur always there
Lol, np.
Reply
#5

im still haveing a bit of truble iv done what it say but when i compile it over loads my program and shuts it down
Reply
#6

Errors? Or does it just shut down?
Reply
#7

just shut down
Reply
#8

Can you show where you're trying to add it and the exact code you have added?
Reply
#9

//this is what i have


SetTimer("SendMSG", 120000, true);
forward SendMSG();

public SendMSG()
{
// effect (i dont know what gose here
}

new randMSG = random(sizeof(RandomMSG)); //calculates the size of RandomMSG (which is 3)
SendClientMessageToAll(COLOR, RandomMSG[randMSG]); // Replace the "color" with your defined color.

new RandomMSG[][] =
{
"Welcom to the acrtic-sever",
"Vist us at www.arctic-severs.com",
"Type /help to go through the sever."
"Follow The Rules"
"Please respect all persons/pepole"
};


also do i need to fowred it?
Reply
#10

Put
pawn Код:
new randMSG = random(sizeof(RandomMSG)); //calculates the size of RandomMSG (which is 3)
SendClientMessageToAll(COLOR, RandomMSG[randMSG]); // Replace the "color" with your defined color.
Under the SendMSG callback.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)