Getting float cords doesnt work. - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Getting float cords doesnt work. (
/showthread.php?tid=545160)
Float doesnt get cords correctly -
TheINCDope - 06.11.2014
---- Delete, works.-----
Re: Getting float cords doesnt work. -
TheINCDope - 06.11.2014
bump
Re: Getting float cords doesnt work. -
CNMike - 06.11.2014
Your sscanf string doesn't match the function.
p<|>[24]ffffffiiii
According to this, you have the House Owner defined as a float, and later on you call the same variable as a string. You need to correlate the string in sscanf ("p<|>[24]ffffffiiii") with the variables that follow after it.
Take a look at this for reference
https://github.com/Y-Less/sscanf/wiki