SA-MP Forums Archive
Need Help - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Other (https://sampforum.blast.hk/forumdisplay.php?fid=7)
+--- Forum: Everything and Nothing (https://sampforum.blast.hk/forumdisplay.php?fid=23)
+--- Thread: Need Help (/showthread.php?tid=407673)



Need Help - sscarface - 14.01.2013

maybe i posted on wrong section if i did so srry. btw can u tell me ? how to make like this on ur server , if someone robbery store so show like this not on main chat.





Re: Need Help - Infinity90 - 14.01.2013

Thats a textdraw:
https://sampwiki.blast.hk/wiki/TextDrawSetString


Re: Need Help - sscarface - 14.01.2013

thanx but can u explain me more cuz i am newbie.


Re: Need Help - Alex Magaсa - 14.01.2013

TextDrawCreate: Create a textdraw.

TextDrawDestroy: Destroy a textdraw.

TextDrawColor: Set the color of the text in a textdraw.

TextDrawBoxColor:
Set the color of the box in a textdraw.

TextDrawBackgroundColor: Set the background color of a textdraw.

TextDrawAlignment:
Set the alignment of a textdraw.

TextDrawFont:
Set the font of a textdraw.

TextDrawTextSize: Set the size of a textdraw box.

TextDrawSetOutline: Choose whether the text has an outline.

TextDrawSetShadow: Toggle shadows on a textdraw.

TextDrawSetProportional: Scale the text spacing in a textdraw to a proportional ratio.

TextDrawUseBox:
Toggle if the textdraw has a box or not.

TextDrawSetString: Set the text in an existing textdraw.


TextDrawShowForPlayer: Show a textdraw for a certain player.

TextDrawHideForPlayer: Hide a textdraw for a certain player.

TextDrawShowForAll: Show a textdraw for all players.

TextDrawHideForAll: Hide a textdraw for all players.
[ame]http://www.youtube.com/watch?v=LQNi23ZMUyQ[/ame]
[ame]http://www.youtube.com/watch?v=N7RZm2-ZL-I[/ame]


Re: Need Help - Kyle - 14.01.2013

You really need to give up on creating the gamemode.

Get experience first!!


Re: Need Help - sscarface - 14.01.2013

Quote:
Originally Posted by KyleSmith
Посмотреть сообщение
You really need to give up on creating the gamemode.

Get experience first!!
if u give so i get, lolumad.


Re: Need Help - thefatshizms - 14.01.2013

I have absolutely no clue what you said.

And as kyle said, get some experience before starting a server.


Re: Need Help - Code_Red - 14.01.2013

Make two strings and two textdraws. Assign each string to a respective textdraw. When something you want to be displayed on the first one happens, set the string to whatever it would be. When something else of the type occurs, change it so that the second string will contain the older message. Needless to say that you will have to update the textdraws after every time something like is happening, so I would simply create a stock to do all this.
I did not script in a very long time, so there may better ways to do this, though I am sure this would work.
Good luck.


Re: Need Help - Djole1337 - 14.01.2013

Also, coping other servers is a failure.

Make something unique instead.


Re: Need Help - Riddy - 15.01.2013

Quote:
Originally Posted by KyleSmith
Посмотреть сообщение
You really need to give up on creating the gamemode.

Get experience first!!
At this point, I agree with Kyle, people replying, you are pretty much doing the job for him.