![]() |
Class Hack
I'm new to PHP and don't know much about it, but I'm trying to make a rpg class hack for my forums. This of course would be simple, but I'm making it to where they select a class in User CP and level up in it, so I was wondering how to make something equal something with two if's. Like I need it to be if $rpgclass equals Squire and $shwolevel equals 3 through 7 then it will equal something else like Knight or something. I would have just created multipule post fields and did it like
If ($showlevel == 3) { $post[fieldwhatever] = Knight } But then I have the porblem with postbit of getting them all into and I still don't know how to make it equal that level to another level. Can someone help? I also posted this in PHP Help.. |
[D]Vincent if you're so persistent just go look at the pips and stars hack and use the codign and integrate your own classes into it instead of whatever it uses ;p
g-force2k2 |
Heh, well this hack would be for RPG or RPG Gaming forums, just something to make it look more like an RPG
|
It's the same exact thing ;p not really a hack you just change variables thats all ;p
g-force2k2 |
<a href="http://forums.zcentralhq.com/forums/" target="_blank">http://forums.zcentralhq.com/forums/</a> < do you mean something like I have running at my forums? (you'll probably need to register to use it).
If so then find me on AIM or something and I'll give you a hand. |
All times are GMT. The time now is 07:00 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|