SA-MP Forums Archive
message for sever - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: message for sever (/showthread.php?tid=83837)



message for sever - sggassasin - 27.06.2009

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


Re: message for sever - Grim_ - 27.06.2009

https://sampwiki.blast.hk/wiki/Random_Messages


Re: message for sever - sggassasin - 27.06.2009

thx for the help swift ur always there


Re: message for sever - Grim_ - 27.06.2009

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


Re: message for sever - sggassasin - 28.06.2009

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


Re: message for sever - Grim_ - 28.06.2009

Errors? Or does it just shut down?


Re: message for sever - sggassasin - 28.06.2009

just shut down


Re: message for sever - Grim_ - 28.06.2009

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


Re: message for sever - sggassasin - 28.06.2009

//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?



Re: message for sever - Grim_ - 28.06.2009

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.