Getting string from SQL
#4

Okay so I finally managed to get it correctly, but the problem now is that it isnt being copied.
PHP код:
cache_get_field_content(51"NickName"string);
    
format(AccInfo[playerid][NickName], 64string);
    
    
strcpy(AccInfo[playerid][NickName],string,64); 
The issue is, its being displayed as Null
PHP код:
format(string,sizeof(string),"Nickname: %s",AccInfo[playerid][NickName]); 
Reply


Messages In This Thread
Getting string from SQL - by TwinkiDaBoss - 09.12.2015, 18:24
Re: Getting string from SQL - by Vince - 09.12.2015, 18:47
Re: Getting string from SQL - by TwinkiDaBoss - 09.12.2015, 18:52
Re: Getting string from SQL - by TwinkiDaBoss - 09.12.2015, 20:37
Re: Getting string from SQL - by AmigaBlizzard - 09.12.2015, 20:57
Re: Getting string from SQL - by SickAttack - 09.12.2015, 21:07
Re: Getting string from SQL - by TwinkiDaBoss - 10.12.2015, 16:16
Re: Getting string from SQL - by TwinkiDaBoss - 10.12.2015, 23:17
Re: Getting string from SQL - by arakuta - 10.12.2015, 23:32
Re: Getting string from SQL - by TwinkiDaBoss - 10.12.2015, 23:36

Forum Jump:


Users browsing this thread: 3 Guest(s)