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)!