Guest Sniko` Posted July 3, 2009 Posted July 3, 2009 i know ive posted this before but i couldnt modify it to make it clearer LINK: http://criminalexistence.com/ceforums/i ... ic=29530.0 This will basically make the regsiter user have a chance to select a class, If they choose the class Fighter there level will be immidiatly increased to level 3 ############################################### FIGHTER BENEFITS ############################################### The regsiter.php file i used You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. All i have added SQL - GET ON THE LINK AT THE TOP - i changed the values though You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. That bit was in the form You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. You can change the level increase by finding You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. and changing 3 to any number The Banker and Traveller Class Benefits Will Be Coming Soon Thanks Sniko Quote
Guest Sniko` Posted July 3, 2009 Posted July 3, 2009 Re: [V2] Class Benefits - Fighter || Traveller || Banker ############################################# BANKER BENEFITS ############################################# replace bank.php with this - of course make a back up of yours first You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. This will basically make the cost to open a bank account put in half. For example: if the bank to open costs $10000 if your class was a banker it would cost $5000 Thanks Sniko Quote
Guest Sniko` Posted July 3, 2009 Posted July 3, 2009 Re: [V2] Class Benefits - Fighter || Traveller || Banker ################################################### TRAVELLER BENEFITS ################################################### This will make the cost of a ticket be reduced by $75 if youre class is a traveller - easily modified OPen up monorail.php and replace your code with this - Normal mccdoes monorail You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Thanks Sniko Quote
Ghostriders-oldnick Posted July 3, 2009 Posted July 3, 2009 Re: [V2] Class Benefits - Fighter || Traveller || Banker Looks awsome man ! +2 will u be adding more function to the ranks? Quote
MyGunWars Posted July 4, 2009 Posted July 4, 2009 Re: [V2] Class Benefits - Fighter || Traveller || Banker Nice Job +1 And Would This Work: I Got You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote
Guest Sniko` Posted July 4, 2009 Posted July 4, 2009 Re: [V2] Class Benefits - Fighter || Traveller || Banker Nice Job +1 And Would This Work: I Got You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. The SQL is wrong, it should be: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. I think, it is untested also, the fix i did is that you did You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. The error is here, this should not be $money becuse these are the fields names in the database table of users so it should be money, Quote
Guest Sniko` Posted July 4, 2009 Posted July 4, 2009 Re: [V2] Class Benefits - Fighter || Traveller || Banker Looks awsome man ! +2 will u be adding more function to the ranks? Name what you want doing at it'll be on the forum once ive coded it Quote
Guest Sniko` Posted July 4, 2009 Posted July 4, 2009 Re: [V2] Class Benefits - Fighter || Traveller || Banker Also thank you for the positive feedback and the +1 :lol: Quote
MyGunWars Posted July 4, 2009 Posted July 4, 2009 Re: [V2] Class Benefits - Fighter || Traveller || Banker Nice Job +1 And Would This Work: I Got You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. The SQL is wrong, it should be: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. I think, it is untested also, the fix i did is that you did You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. The error is here, this should not be $money becuse these are the fields names in the database table of users so it should be money, I Did Fix But Still Got The Error. I Cant Find It. Here My File. You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote
Guest Sniko` Posted July 5, 2009 Posted July 5, 2009 Re: [V2] Class Benefits - Fighter || Traveller || Banker i shall fix this when i have more time Quote
MyGunWars Posted July 5, 2009 Posted July 5, 2009 Re: [V2] Class Benefits - Fighter || Traveller || Banker Ok Thanks Man. Quote
F4R1D Posted July 6, 2009 Posted July 6, 2009 Re: [V2] Class Benefits - Fighter || Traveller || Banker I Wish people could sercure the ip hack Quote
Guest Sniko` Posted July 6, 2009 Posted July 6, 2009 Re: [V2] Class Benefits - Fighter || Traveller || Banker I Wish people could sercure the ip hack http://dev-forum.net/index.php/topic,524.0.html Posted By: Suacide Quote
Guest Sniko` Posted July 6, 2009 Posted July 6, 2009 Re: [V2] Class Benefits - Fighter || Traveller || Banker i Did Fix But Still Got The Error. I Cant Find It. Here My File. FIXED! You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. The error doesnt display and it works Quote
Jordan Palmer Posted August 1, 2009 Posted August 1, 2009 Re: [V2] Class Benefits - Fighter || Traveller || Banker NOT TESTED BUT HERE'S A LITTLE UPDATE WITH SOME SECURITY LOL register.php You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. In staff.php add You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. run this SQL. You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Nothing major ;) Quote
Newbie Posted January 25, 2012 Posted January 25, 2012 does anyone have the sql for this i know its old just hoping somone does as link is dead :( Quote
sniko Posted January 31, 2012 Posted January 31, 2012 Try something along the lines of; ALTER TABLE `users` ADD `class` ENUM('Fighter','Traveller','Banker') NOT NULL DEFAULT 'Fighter'; Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.