Getting float cords doesnt work.
#3

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
Reply


Messages In This Thread
Float doesnt get cords correctly - by TheINCDope - 06.11.2014, 17:48
Re: Getting float cords doesnt work. - by TheINCDope - 06.11.2014, 18:58
Re: Getting float cords doesnt work. - by CNMike - 06.11.2014, 19:57

Forum Jump:


Users browsing this thread: 1 Guest(s)