new skin[129] format( BLAH , BLAH , BLAH , BLAH ,
#1

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  , ) 
Reply
#2

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

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

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

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
Reply
#6

EDIT: i was slow ...
Reply
#7

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

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
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)