How to make SEnd Message? plz help - 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: How to make SEnd Message? plz help (
/showthread.php?tid=135120)
How to make SEnd Message? plz help -
kauposoopa - 19.03.2010
How i make sendmessage like Visit our website and some like that plz help
Re: How to make SEnd Message? plz help -
Deat_Itself - 19.03.2010
Or
Re: How to make SEnd Message? plz help -
kauposoopa - 19.03.2010
but where i but it? i m new in scripting

but scripting are cool

so plz help i do it with pawno?
Re: How to make SEnd Message? plz help -
Deat_Itself - 19.03.2010
Quote:
Originally Posted by kauposoopa
but where i but it? i m new in scripting  but scripting are cool  so plz help i do it with pawno?
|
when you want to call it .
For e.g you want to call it on command
Код:
if(!strcmp(cmdtext,"/website", true)) {
SendClientMessageToAll(color, "Visit Our website www.yourdomain.com");
return 1;
}
Re: How to make SEnd Message? plz help -
kauposoopa - 19.03.2010
where i put it? do i do it with pawno? and how i do maybe you can make vid
Re: How to make SEnd Message? plz help -
Virtual1ty - 19.03.2010
Or if you want random messages every X minutes, check this tutorial:
https://sampwiki.blast.hk/wiki/Random_Messages
Re: How to make SEnd Message? plz help -
Deat_Itself - 19.03.2010
Quote:
Originally Posted by kauposoopa
where i put it? do i do it with pawno? and how i do maybe you can make vid 
|
put it under the OnPlayerCommantext
Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
//here
return 0;
}
Quote:
Originally Posted by Virtual1ty
|
Yeah thats also good