Cnnn - 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)
+--- Thread: Cnnn (
/showthread.php?tid=643471)
Cnnn -
xXGabyGabiXx - 20.10.2017
Whenever I posted something I was helped, I hope so now.
I want a gen / cnn (Breaking News) system to come up next to the minimap!
Example:
/ cnnn <text>
Breaking news: TEXT
Re: Cnnn -
Fratello - 20.10.2017
That seems like a whole system, small one.
Look for a good soul who will build it for you.
Re: Cnnn -
xXGabyGabiXx - 20.10.2017
Yes, you are very kindly good you did not comment!
Re: Cnnn -
Fratello - 20.10.2017
How about you start making it, I'll help you if you fall down. Wanna try?
Re: Cnnn -
McBan - 20.10.2017
- Create two textdraws, one named "Breaking news:" and the other can be anything for now.
- Read the wiki and any relevant forum threads to help you put the textdraw in your script correctly.
- Create a command for the breaking news, make sure to include playerid and params.
- Once you've completed the command and the parameters are stored in a variable correctly, research PlayerTextDrawSetString.
- Simply show the textdraw and use the parameters stored in your variable in the PlayerTextDrawSetString, create a timer so that it disappears eventually.
You cannot possibly expect anyone to actually hard-code it for you as it does require effort from your side too, maybe a knight in shining armour may help, but I wouldn't bet on it. Anyways, the guide up above should assist you in bringing your idea to reality.