New String [],Help.
#1

First of all,Welcome Every one.
I need help. Am kind of newbie at scripting,I need some help about " New String ". I heard that " New String [A Certain Number],I heard that that number determines the String's Number. So,Can you gimme a list of those numbers so i know which number i should add at which condition.
And Thanks.
Reply
#2

Next time , choose a better color
And no there is no list for it , it depends on how are you going to use it
For example , if you are going to make a message , then u need this
pawn Код:
new Message[128];
if you are going to get the player name , you will use this :
pawn Код:
new Name[24];
Reply
#3

You can use howmuch you want
example
pawn Код:
new string[2];
    strcat(string, "12 - 345"); // Only 1 and 2 will appear now.
another
pawn Код:
new string[20];
strcat(string, "12345678912345678911"); // all the numbers will appear
Reply
#4

Learn more about variables/strings from here.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)