Getting string from SQL
#1

Alright so the problem is simple, Im trying to format a string from the sql and store it inside AccInfo[playerid][NickName]

PHP код:
cache_get_field_content(0"NickName"string);
format(AccInfo[playerid][NickName], 128string); 
The problem is quite simple, it simply displays loads 0

PHP код:
[20:21:280
[20:21:2845 player ID
printf
("%s",cache_get_field_content(0"NickName"string));
printf("%i player ID",AccInfo[playerid][ID]); 
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: 2 Guest(s)