Setting a string's length using integers
#1

Is is possible to set a string's length using integers? Like this:
Код:
new szString[CheckTotalAccounts() * 50];
the CheckTotalAccounts function returns an integer.
Reply
#2

You cannot do this due to the variables are created at the very start of the gamemode and when it's not ran so therefore it cannot execute the function to grab the data.

Put in an array size of something you think it would be near to.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)