SA-MP Forums Archive
stupid question - 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: stupid question (/showthread.php?tid=634926)



stupid question - DemME - 28.05.2017

how do I print symbol such as : • ♥ ♠ and such, basically I wanna know how to make the dot which is • ALT+NUM7


Re: stupid question - NaS - 29.05.2017

The dot is not available for printing in the Console, however most others are (like ♥ or ☻).

Код:
print("\x2 \x3"); // Prints "☻ ♥"
Those will display in the Console only, not ingame (as long as someone doesn't change the chat font).


Re: stupid question - DemME - 29.05.2017

Quote:
Originally Posted by NaS
Посмотреть сообщение
The dot is not available for printing in the Console, however most others are (like ♥ or ☻).

Код:
print("\x2 \x3"); // Prints "☻ ♥"
Those will display in the Console only, not ingame (as long as someone doesn't change the chat font).
Aww nice, thanks my friend, understood.


Re: stupid question - DemME - 29.05.2017

Quote:
Originally Posted by NaS
Посмотреть сообщение
The dot is not available for printing in the Console, however most others are (like ♥ or ☻).

Код:
print("\x2 \x3"); // Prints "☻ ♥"
Those will display in the Console only, not ingame (as long as someone doesn't change the chat font).
Wait, I haven't read the console thing, how is it possible to print it ingame? I mean, like apart of the chat.


Re: stupid question - DemME - 29.05.2017

BUMP


Re: stupid question - NaS - 29.05.2017

Quote:
Originally Posted by DemME
Посмотреть сообщение
Wait, I haven't read the console thing, how is it possible to print it ingame? I mean, like apart of the chat.
I thought you were talking about printing as of print(). :P

There's no heart or simileys, but dots: • or · (you can copy this)

Just go to the Windows Character Table, choose Arial and Windows:Western at the bottom. From there you can copy/paste any signs and also see which are available.
Alternatively do it in Word or WordPad, choose Arial and ANSI. Those can be copied to PAWNO as well.


Re: stupid question - DemME - 29.05.2017

Quote:
Originally Posted by NaS
Посмотреть сообщение
I thought you were talking about printing as of print(). :P

There's no heart or simileys, but dots: • or · (you can copy this)

Just go to the Windows Character Table, choose Arial and Windows:Western at the bottom. From there you can copy/paste any signs and also see which are available.
Alternatively do it in Word or WordPad, choose Arial and ANSI. Those can be copied to PAWNO as well.
I was trying to do so, but instead it shows in my game like "@#$"//@#%" or something like that


Re: stupid question - NaS - 29.05.2017

Quote:
Originally Posted by DemME
Посмотреть сообщение
I was trying to do so, but instead it shows in my game like "@#$"//@#%" or something like that
And if you copy the sign from above? I tested it, it sometimes doesn't show in PAWNO, but it works for me ingame.
When copying from the Table make sure you do not select Unicode and also the right font.


Re: stupid question - Beckett - 30.05.2017

None of these can be printed in the chatbox, except • (ALT+NUM 7)