SA-MP Forums Archive
custom data type? - 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: custom data type? (/showthread.php?tid=618110)



custom data type? - Maheerali - 01.10.2016

Like Text:myTd,
PlayerText:myPTd.
How i can make something like Bar:


Re: custom data type? - BrianFaria - 01.10.2016

edit


Re: custom data type? - Vince - 01.10.2016

It's not a data type, it's a tag. And you can literally just type it in front.


Re: custom data type? - Maheerali - 01.10.2016

Quote:
Originally Posted by Vince
Посмотреть сообщение
It's not a data type, it's a tag. And you can literally just type it in front.
So how i can create that in my include. Suppose i am creating List:
Give example code please.


Re: custom data type? - Maheerali - 01.10.2016

Quote:
Originally Posted by Speedpro
Посмотреть сообщение
edit
I gave example not exactly doing that. What code i should put. if I am creating List:


Re: custom data type? - Dayrion - 01.10.2016

Quote:
Originally Posted by Vince
Посмотреть сообщение
It's not a data type, it's a tag. And you can literally just type it in front.
I don't get the purpose of using tag even after read this, except to get warning or not. Can you explain ? ^^'


Re: custom data type? - SyS - 01.10.2016

recently a guy posted about same thing https://sampforum.blast.hk/showthread.php?tid=617294


Re: custom data type? - Maheerali - 01.10.2016

Quote:
Originally Posted by Dayrion
Посмотреть сообщение
I don't get the purpose of using tag even after read this, except to get warning or not. Can you explain ? ^^'
There is stock for TextDraws "TextDrawLetterSize(textid,Float,Float)". I want to know how to have something like that textid in my in include.Simply how to have variable as parament.


Re: custom data type? - Dayrion - 01.10.2016

Quote:
Originally Posted by Sreyas
Посмотреть сообщение
recently a guy posted about same thing https://sampforum.blast.hk/showthread.php?tid=617294
Thanks you.