String is not being stored correctly in enum
#1

I don't understand what's wrong with this.

I added this:

PHP код:
nInfo[1][ID] = 1;
    new 
cName[50], time[15], date[15], message[250];
    
format(cName50"John");
    
format(time15"20:53");
    
format(date15"08/09/2017");
    
format(message250"Someone please come really quick, my wife is giving birth, oh damn this one is gonna be a gangsta");
    
nInfo[1][CallerName] = cName;
    
nInfo[1][CallerPhone] = 523221;
    
nInfo[1][Time] = time;
    
nInfo[1][Date] = date;
    
nInfo[1][Message] = message
under OnPlayerConnect just to have something to test with

but when I try to read that in game, it is displayed as this: https://imgur.com/a/7IZSx

So looks like the date is bugged but why, the thing that is displayed has no logic
Reply


Messages In This Thread
String is not being stored correctly in enum - by AndreiWow - 09.09.2017, 01:12
Re: String is not being stored correctly in enum - by Dayrion - 09.09.2017, 01:33
Re: String is not being stored correctly in enum - by AndreiWow - 09.09.2017, 01:38
Re: String is not being stored correctly in enum - by Dayrion - 09.09.2017, 01:40

Forum Jump:


Users browsing this thread: 1 Guest(s)