Player Position Updating
#3

Quote:
Originally Posted by Babul
Посмотреть сообщение
your described method sonds good. just rescript it
about the position value: i asume you want to format theplayers position (float) as a string, for displaying it properly in a textdraw. thats why you want leading zeros? hence the playerpositions are in the 1000's, not 100's. like
pawn Код:
format(string,sizeof(string),"PosX:%04.03f",X);
outputs a positon as "Pos:0000.000", where your 000.000 string matches the format "%03.03f"
Ah, thanks for the response. I re-scripted the system and threw it under OnPlayerUpdate just because I wanted to see for myself. Thanks for the information on formatting the float (yes, that's exactly what the leading zero's were for). Thanks again, Babul! I love you man (no homo)!
Reply


Messages In This Thread
Player Position Updating - by Scenario - 21.01.2012, 00:30
Re: Player Position Updating - by Babul - 21.01.2012, 01:41
Re: Player Position Updating - by Scenario - 21.01.2012, 01:46

Forum Jump:


Users browsing this thread: 1 Guest(s)