StoneLineDevTeam / UMod

GMod replacement project - Sandbox game based on Unreal Engine
BSD 4-Clause "Original" or "Old" License
16 stars 9 forks source link

Lua print function replcament issue... #9

Closed Yuri6037 closed 8 years ago

Yuri6037 commented 8 years ago

Unable to convert correctly from bool to string, int to string, float to string, and double to string.

If you know a way to do that, thanks by advance.

Yuri6037 commented 8 years ago

EDIT : Rectifivation ints prints correctly when they are not NIL... The problem with the Color method was the R, G, B and A being NULL instead of a number.

So the real problem of print is that it print nothing instead of 'null' or 'nil', and it's not able to print bool values.

Yuri6037 commented 8 years ago

Fixed in latest commit !