Re: Passport Mod (just a simple mod)
Post the file here, from lines 20 - 35
From line 20-35 :-)
print "You don't have enough money.";
}
else if( ((int) $_GET['to']) != $_GET['to'])
{
print "Invalid city ID";
}
else
{
$q2=mysql_query("SELECT * FROM inventory WHERE inv_itemid='800' AND inv_userid=$userid",$c
if(!mysql_num_rows($q2))
{
print" You need a passport to travel!
[url="buy_passport.php"]Buy one now![/url]";
else
{
print "Error, this city either does not exist or you cannot go there.";/code]