Server Info - 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: Server Info (
/showthread.php?tid=87443)
Server Info -
andrewgilf - 20.07.2009
I am wondering on servers I see announcements like
No Hacking
No Swearing things like that in chat.
Is their a script out for that at all?
Re: Server Info -
MadeMan - 20.07.2009
https://sampwiki.blast.hk/wiki/Random_Messages
Re: Server Info -
Pawno_Master - 20.07.2009
I think he meant
a announcement in middle screen
Re: Server Info -
MadeMan - 20.07.2009
Quote:
Originally Posted by ekeleke
I think he meant
a announcement in middle screen
|
Quote:
Originally Posted by andrewgilf
things like that in chat.
|
I read from there that he wanted it in chat
Re: Server Info -
refshal - 20.07.2009
https://sampwiki.blast.hk/wiki/SendClientMessage
https://sampwiki.blast.hk/wiki/SendClientMessageToAll
Re: Server Info -
James_Alex - 20.07.2009
mybe use "GameTextForAll", and SetTimer
example:
pawn Код:
// put this in OnGameModeInit
SetTimer("Message", 15000, false);
}
forward Message()
public Message()
{
GameTextForPlayer("~r~do not hack or cheat! ~w~bla bla bla", 5000, 5);
return 1;
}
PS: 15000 = 15 secondes.
5000 = 5 seconds.
i mean 1000 = 1 second, sp you can change the times as you like !
Re: Server Info -
andrewgilf - 20.07.2009
Thanks!

But I dont understand that tutorial.
Re: Server Info -
James_Alex - 20.07.2009
Quote:
Originally Posted by andrewgilf
Thanks! 
But I dont understand that tutorial.
|
juste copy and paste
Re: Server Info -
andrewgilf - 20.07.2009
But what do I copy and Paste?
Sorry
Re: Server Info -
James_Alex - 20.07.2009
paste the code !!!