How do I add a variable

08/21/2009 01:04 xTreme_#1
Couldn't find a guide when I searched. I want to make a variable so it will check how many times the player has already used unknown man. I know how to use the variable, but just don't know how to make it.

Oh yea this is LOTF
08/21/2009 01:54 kinshi88#2
You mean variables like short, int, long, double, etc?

Define the variable:
int UkwnMnUse = 0;
08/21/2009 02:06 xTreme_#3
Nvm I think I know, thanks.
08/21/2009 03:24 killermickle#4
For what you're doing I think you'll need to put it in your DB. Otherwise the variable will reset on login.
08/21/2009 04:03 xTreme_#5
Quote:
Originally Posted by killermickle View Post
For what you're doing I think you'll need to put it in your DB. Otherwise the variable will reset on login.
Yea something like that, Andrea helped me define the variables and put em in my code for me and she said all I have to do is put the save in now or whatever. Too tired to figure how I do that though right now.