Need help with mysql (syntax) again
#10

you can also use format though.
Example:
PHP Code:
for(new iMAX_SIZEji++){
    new 
stringParser[2]; // 5 = 4 characters + null then 2 integers since there are only 12 slots for guns. Just an example
    
format(stringParsersize of stringParser"Guns%d"i); // parsing string from 0 to 11
    
cache_get_value(0stringParserPlayerData[playerid][guns][i]); // this might make errors, so if it does. Just add that error here. If not problem solved

Reply


Messages In This Thread
Need help with mysql (syntax) again - by Edvukas - 09.03.2019, 23:08
Re: Need help with mysql (syntax) again - by Edvukas - 10.03.2019, 10:43
Re: Need help with mysql (syntax) again - by Kane - 10.03.2019, 10:51
Re: Need help with mysql (syntax) again - by Edvukas - 10.03.2019, 19:15
Re: Need help with mysql (syntax) again - by JesterlJoker - 10.03.2019, 19:47
Re: Need help with mysql (syntax) again - by Infin1ty - 10.03.2019, 19:53
Re: Need help with mysql (syntax) again - by Edvukas - 10.03.2019, 20:13
Re: Need help with mysql (syntax) again - by solstice_ - 10.03.2019, 20:25
Re: Need help with mysql (syntax) again - by Edvukas - 10.03.2019, 22:14
Re: Need help with mysql (syntax) again - by JesterlJoker - 11.03.2019, 05:16

Forum Jump:


Users browsing this thread: 4 Guest(s)