Help with this include
#1

Hi i am trying to make an include that does my servers user registration.

at the moment i am using an enum in my gamemode script and using Dini to store the information into a notepad. I can do this fine. My aim is to move all of the dini information storage into an include so that it doesnt take up a huge amount of lines in my gamemode script. I have tried using Stock and creating my own function but i always get compiler errors for example i will be told that some of the variables used in the include shadow variables created in the gamemode (This is the variables in my enum)

if someone could just give an example of how create a function in an include doing this.

dini_Create(file);
dini_Set(file, "Password",inputtext);

in a function called PlayerRegistration.

Once i understand that i can build off your example and add in the extra commands in the function. Its mainly declaring everything in the include messes with my head :S

Thanks

thankyou
Reply
#2

then?
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)