Raised This Month: $ Target: $400
 0% 

Skills float


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
mottzi
Veteran Member
Join Date: May 2010
Location: Switzerland
Old 06-30-2014 , 17:47   Re: help pleasee
Reply With Quote #1

You dont need to convert the float to a string, use '%f' to format the output.

PHP Code:
public Function(id)
{
    
set_hudmessage(25500, -1.0, -1.00_12.0__, -1)
    
    new 
Float:MyFloat 1.6 //Here is your float
    
show_hudmessage(id"My float is %f"MyFloat)

mottzi is offline
Send a message via MSN to mottzi
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 21:14.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode