How to use sscanf to split a SQL row?
#6

Quote:
Originally Posted by Hal
Посмотреть сообщение
it follows the s which represents strings

s[stringsize]

check the sscanf topic for more info
oke i did this:

Код:
sscanf(tmpSQLResult, "p<|>isiiiiiiiiiiiiiiiiiiiiiiiiiiii",
							  "", "", "", "", "", Wapen1, Wapen2, Wapen3, Wapen4, Wapen5, Wapen6, Wapen7, Wapen8, Wapen9);
but when i do a sendclientmessage it asks to add an array so i did (new Wapen1[5]; and SendClientMessage(playerid,COLOR_RED,Wapen1[4]); etc) now i see the client message as empty so its not filled with any value :S
Reply


Messages In This Thread
How to use sscanf to split a SQL row? - by DaneAMattie - 22.02.2011, 20:52
Re: How to use sscanf to split a SQL row? - by [L3th4l] - 22.02.2011, 21:09
Re: How to use sscanf to split a SQL row? - by Sergei - 22.02.2011, 21:10
Re: How to use sscanf to split a SQL row? - by DaneAMattie - 22.02.2011, 21:12
Re: How to use sscanf to split a SQL row? - by Hal - 22.02.2011, 21:17
Re: How to use sscanf to split a SQL row? - by DaneAMattie - 22.02.2011, 21:21
Re: How to use sscanf to split a SQL row? - by Hal - 22.02.2011, 22:10
Re: How to use sscanf to split a SQL row? - by DaneAMattie - 23.02.2011, 14:22
Re: How to use sscanf to split a SQL row? - by WackoX - 24.02.2011, 11:01
Re: How to use sscanf to split a SQL row? - by DaneAMattie - 24.02.2011, 11:05

Forum Jump:


Users browsing this thread: 1 Guest(s)