getpowerpercent in a var

Discuss using and improving Lua and the Lua Player specific to the PSP.

Moderators: Shine, Insert_witty_name

Post Reply
Koba
Posts: 59
Joined: Thu Sep 29, 2005 10:57 am

getpowerpercent in a var

Post by Koba »

ok does anyone know how to create an integer and put the global varible powerGetBatteryLifePercent()? i tryed putting it in a variable, but its looked at as a string, so how do i make it an integer?
EDIT: never mind i fixed it. found out i had to assign the variable as an integer while i was declaring the variable.
Post Reply