How is pVeh[4] stored in mysql?
#15

PHP код:
cache_get_value(0"Elite"pEliteString[playerid]);           
                new 
output[20][1]; // 20 == number of maximum ";" would apper, 1 == size of the string between each ";" (in this case it seem to be just 1 or 0, so just defined as 1 at max.
                
split(pEliteString[playerid], output,';');  
                
printf("pEliteString loop: %s, %s, %s"pEliteString[playerid][0], pEliteString[playerid][1], pEliteString[playerid][2]); 
Output in log: pEliteString loop: 0;0;0;0;0;0;0;0, ;0;0;0;0;0;0;0, 0;0;0;0;0;0;0

Not doing good job...

I need every number that is not ";" to store in pElite[0], pElite[1] ...

How to do it?
Reply


Messages In This Thread
How is pVeh[4] stored in mysql? - by Saddin - 06.05.2017, 10:56
Re: How is pVeh[4] stored in mysql? - by Vince - 06.05.2017, 11:17
Re: How is pVeh[4] stored in mysql? - by coool - 06.05.2017, 11:20
Re: How is pVeh[4] stored in mysql? - by ShihabSoft - 06.05.2017, 11:28
Re: How is pVeh[4] stored in mysql? - by Saddin - 06.05.2017, 11:34
Re: How is pVeh[4] stored in mysql? - by ShihabSoft - 06.05.2017, 11:36
Re: How is pVeh[4] stored in mysql? - by Saddin - 06.05.2017, 11:39
Re: How is pVeh[4] stored in mysql? - by ShihabSoft - 06.05.2017, 11:52
Re: How is pVeh[4] stored in mysql? - by Vince - 06.05.2017, 11:54
Re: How is pVeh[4] stored in mysql? - by Saddin - 06.05.2017, 12:00
Re: How is pVeh[4] stored in mysql? - by coool - 06.05.2017, 12:03
Re: How is pVeh[4] stored in mysql? - by Saddin - 06.05.2017, 12:08
Re: How is pVeh[4] stored in mysql? - by Saddin - 06.05.2017, 22:49
Re: How is pVeh[4] stored in mysql? - by ShihabSoft - 07.05.2017, 04:41
Re: How is pVeh[4] stored in mysql? - by Saddin - 07.05.2017, 11:03
Re: How is pVeh[4] stored in mysql? - by ShihabSoft - 07.05.2017, 11:05
Re: How is pVeh[4] stored in mysql? - by Saddin - 07.05.2017, 11:09
Re: How is pVeh[4] stored in mysql? - by Vince - 07.05.2017, 11:44
Re: How is pVeh[4] stored in mysql? - by Saddin - 07.05.2017, 12:23

Forum Jump:


Users browsing this thread: 1 Guest(s)