Re: Something other than male/female?
yea, going through and replacing $ir['male']/$r['male'] and $ir['female']/$r['female'] to $ir['human']/$r['human'] and $ir['alien']/$r['alien'] isn't really that hard.
Re: Something other than male/female?
Writing a stupid function is the best way if you still want a compatible db to use other mods, otherwise you would need to keep recoding every single change you apply on a game!
I'm all for using function to make tedious tasks easier, but when they're not needed there's no point. Even if a function is used a script modification will be required to incorporate the function into it a database modification is the easiest way in my mind as modification is required either way.
Re: Something other than male/female?
instead of writing a stupid function for it, just modify it in the database. leave the column called gender and than replace male and female with human and alien and than edit the preferences page to reflect the change.
Re: Create Gang Help
plain and simple, you added something to the gang table, probably a gang pic mod and didn't modify your insert query, as mike09 said post you gangs table structure and someone will be able to help.
Re: I accidently deleted my database and it wont read my backup?
legrolls, why did you export it as a .doc, you shoulda used .sql, and that can be opened in notepad and a bunch of other programs.
Re: Can some help me with one little thing?
Here you go, AbsentCrisis forgot to close the previous print and open up a new one.
<TD>Violent Actions : </TD>
<TD>[b]
[url='vactions.php?userid={$r[']View Actions[/url] [/b]</TD>
<TD>Contact Actions : </TD>
<TD>[b][url='cactions.php?userid={$r[']View Actions[/url]</TD>
</TR>
<TR VALIGN='TOP'>"
if($ir['user_level'] > 1 {
print "<TD>Staff Actions : </TD>
<TD>[b]
[url='sactions.php?userid={$r[']View Actions[/url] [/b]</TD>
</TR>
</TABLE>";
Re: Hacked :(
Before adding anything to your game, you should always check the source to make sure there is no malicious coding. It also helps if you get a respected coder to make mods or fix errors on your game.
Re: [mccodes] New Crime System [$5.00]
so plain and simple read the conversion tutorial, and editing a database from phpmyadmin is an excellent solution.