[HELP]Split a string
#5

Quote:
Originally Posted by SuperViper
Посмотреть сообщение
Nope, when you use

pawn Код:
mysql_fetch_row();
it seperates all of the columns with a '|'.
no you didn't understand

"PlayerInfo[playerid][pOggTesta]" already contains all variable in form of string because i've already set it whit all other PlayerInfo variables

Now for exemple PlayerInfo[playerid][pOggTesta] contains this string "1,1345,6,0.00,0.00,0.00,0.00,0.00,0.00,1.00,1.00, 1.00"

how do I separate the string??
Reply


Messages In This Thread
[HELP]Split a string [SSCANF PROBLEM] - by xX_Simon_Xx - 25.04.2012, 14:27
Re: Save an attached player object in one Mysql field - by SuperViper - 25.04.2012, 14:29
Re: Save an attached player object in one Mysql field - by xX_Simon_Xx - 25.04.2012, 14:35
Re: [HELP]Split a string - by SuperViper - 25.04.2012, 14:38
Re: [HELP]Split a string - by xX_Simon_Xx - 25.04.2012, 14:44
Re: [HELP]Split a string - by SuperViper - 25.04.2012, 14:46
Re: [HELP]Split a string - by xX_Simon_Xx - 25.04.2012, 15:19
Re: [HELP]Split a string - by xX_Simon_Xx - 25.04.2012, 17:33

Forum Jump:


Users browsing this thread: 2 Guest(s)