-
Banned
[rp] beta system
Hello RaGEZONE.. I did release a similar one in the "BossRP Data" => but I can't remember who gave that to me..
I've simply put one up, as someone wanted one on facebook.
http://pastebin.com/DFaU9xps
This should work 100% for reality, other emulators you may need to change the queries around.
Peace
h t t p : / / p a s t e b i n . c o m / D F a U 9 x p s
Enjoy!
~~~shitey code, but it does the job.
-
-
Apprentice
Re: [rp] beta system
mysql_query("UPDATE users SET beta = '1') or die(mysql_error()); // update
mysql_query("UPDATE users SET beta = '1' WHERE username = '".filter($_SESSION['username']."'") or die(mysql_error()); // update
-
Banned
Re: [rp] beta system
Yeah, that's for other emulators.. it's just changing a few things in the query..
By the way, people hate me doing "//", but it's so the people (noobs?) can see.
-
Banned
Re: [rp] beta system
Oh yeah, another fix...
when you look through the source, it says just 'Error with key'; or something, add echo before the speech. Thanks
-
Re: [rp] beta system
Stop. Using. MySQL! Won't this just drop the table everytime you run the script? Because that's what I see...
By the way, use MySQLi or PDO, much better.