SA-MP Forums Archive
Small request(its regarding sending messages when connecting) - 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: Small request(its regarding sending messages when connecting) (/showthread.php?tid=206780)



Small request(its regarding sending messages when connecting) - Facepunch - 04.01.2011

I hope you wont charge me for this, if you are then I can't pay you..

So it's either: Yes i'll try to help you because I am a kind loving awesome person!
OR: No stfu I wantz cash.


If you have chosen your answer, please proceedlol)


What I think is probably easy to script, but I just don't know how.
1. When you connect, instead of SendClientMessage so that they get a message in the chat, I want to create a message that pops up in the middle of the screen. A big one/small/medium whatever. But one of those.



Thank you once again


(( If you helped me on my last request regarding the "checkpoints/jobs" then I thank you now! Thank you SOO SO much! You are awesome scripters!!))


best regards
have a nice one..


Re: Small request(its regarding sending messages when connecting) - Jordan Smith - 04.01.2011

Under OnPlayerConnect write this:

pawn Код:
GameTextForPlayer(playerid, const string[], time, style);



Re: Small request(its regarding sending messages when connecting) - HyperZ - 04.01.2011

https://sampwiki.blast.hk/wiki/GameTextForPlayer
https://sampwiki.blast.hk/wiki/GameTextStyle


Re: Small request(its regarding sending messages when connecting) - _rAped - 04.01.2011

pawn Код:
OnPlayerConnect(playerid)
{
GameTextForPlayer(playerid, "Welcome to the server or w/e you want..", 5000, 5);
return 1;
}
Try something like that..

Edit: too late.