SA-MP Forums Archive
new skin[129] format( BLAH , BLAH , BLAH , BLAH , - 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: new skin[129] format( BLAH , BLAH , BLAH , BLAH , (/showthread.php?tid=583983)



new skin[129] format( BLAH , BLAH , BLAH , BLAH , - Hemeei - 01.08.2015

Hello guys im scripting today and i dont know what the number im going to put here : new[] < whats the number means ? cause sometimes i just put 129 like i dont care whatever i put ! LOL

for EX

PHP код:
new skin[129]
formatBLAH BLAH  BLAH BLAH  , ) 



Re: new skin[129] format( BLAH , BLAH , BLAH , BLAH , - Mariciuc223 - 01.08.2015

You should read that : https://sampwiki.blast.hk/wiki/Scripting_Basics


Re: new skin[129] format( BLAH , BLAH , BLAH , BLAH , - Hemeei - 01.08.2015

Sorry bro there is no Explenation there of what i need , Anybody?? , Somebody ??


Re: new skin[129] format( BLAH , BLAH , BLAH , BLAH , - Inn0cent - 01.08.2015

Its string length. I mean if you use [129] the message wont show more then 129 words.


Re: new skin[129] format( BLAH , BLAH , BLAH , BLAH , - Hemeei - 01.08.2015

Quote:
Originally Posted by Inn0cent
Посмотреть сообщение
Its string length. I mean if you use [129] the message wont show more then 129 words.
Oohh!! ooh !! Thank you haha now iknow thank you ! +1REp


Re: new skin[129] format( BLAH , BLAH , BLAH , BLAH , - Mariciuc223 - 01.08.2015

EDIT: i was slow ...


Re: new skin[129] format( BLAH , BLAH , BLAH , BLAH , - Hemeei - 01.08.2015

Quote:
Originally Posted by Mariciuc223
Посмотреть сообщение
EDIT: i was slow ...
NVM! you recieved 1REP bro hehe


Re: new skin[129] format( BLAH , BLAH , BLAH , BLAH , - Lorenc_ - 01.08.2015

Quote:
Originally Posted by Inn0cent
Посмотреть сообщение
Its string length. I mean if you use [129] the message wont show more then 129 words.
Characters*

Also, you should be conservative and ensure that you specify a character length that your string is likely to use at most.

ex.

"Five" = four characters, put 5 perhaps instead of 120