[rp] beta system

Results 1 to 5 of 5
  1. #1
    Banned AliDABOSS is offline
    BannedRank
    Apr 2013 Join Date
    EnglandLocation
    48Posts

    [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.


  2. #2
    Apprentice Diesel92 is offline
    MemberRank
    Mar 2012 Join Date
    20Posts

    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

  3. #3
    Banned AliDABOSS is offline
    BannedRank
    Apr 2013 Join Date
    EnglandLocation
    48Posts

    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.

  4. #4
    Banned AliDABOSS is offline
    BannedRank
    Apr 2013 Join Date
    EnglandLocation
    48Posts

    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

  5. #5
    Alpha Member Emily is offline
    MemberRank
    Oct 2012 Join Date
    The NetherlandsLocation
    2,408Posts

    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.



Advertisement