Check Position bugged
#8

From this...

Код:
format(string, sizeof(string), "Xtp[%i], Ytp[%i], Ztp[%i]", Xtp[playerid], Ytp[playerid], Ztp[playerid] );
to this...

Код:
format(string, sizeof(string), "Xtp[%.4f], Ytp[%.4f], Ztp[%.4f]", Xtp[playerid], Ytp[playerid], Ztp[playerid] );
And it will show in the log as what it is in the save command, but it doesn't matter as it's less than an inch in movement at that far down the decimals.


And this will ONLY show in the logs/chat, in the GetPlayerPosition it's still showing 8 decimals, but you just won't see them unless you look at the users saved data in their accounts if the enum is saved to their player file.
Reply


Messages In This Thread
Check Position bugged - by binnyl - 24.06.2018, 09:08
Re: Check Position bugged - by binnyl - 24.06.2018, 19:43
Re: Check Position bugged - by Sew_Sumi - 24.06.2018, 22:46
Re: Check Position bugged - by binnyl - 25.06.2018, 01:14
Re: Check Position bugged - by Sew_Sumi - 25.06.2018, 01:18
Re: Check Position bugged - by binnyl - 25.06.2018, 04:09
Re: Check Position bugged - by Exhibit - 25.06.2018, 05:03
Re: Check Position bugged - by Sew_Sumi - 25.06.2018, 09:04
Re: Check Position bugged - by maikons - 25.06.2018, 14:29
Re: Check Position bugged - by Sew_Sumi - 25.06.2018, 14:32

Forum Jump:


Users browsing this thread: 1 Guest(s)