Escape
#1

Hi,

You have to provide the size (max_len) by yourself if you use an enum-array as destination.

Can give example how look using enum_array as destination

If the destination cannot hold the whole text escaped, the function will silently fail and leave destination unchanged.

I get error or nothing in logs?
Reply
#2

So you want to know what happens if u try to put in a too long string into an enum array, or did i missunderstand?

Example?:

PHP код:
enum test
{
    
String1[4]
    
String2[5]
}
new 
testtest[MAX_PLAYERS][test];
testest[1][Strign1] = "Hey this is a loooooong text"
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)