Yeah thanks, but to my first post. How to update them as i showed above, one by one. Float, string and int all with one function :P
Well, if it was php then you could've checked what type the variable was, but pawn is strict in that. What I posted is the closest you'll get, I am afraid.