Curt Posted November 16, 2009 Posted November 16, 2009 This is a simple mod so your players can spy on other players stats, money in bank, and points... lol...the reason it shows points is because it doesnt show in my hof...:P coded from scratch... enjoy :D spy.php You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. add this link to your viewuser page : Spy on User Quote
Joshua Posted November 16, 2009 Posted November 16, 2009 Nice little mod :) I like mine tho >,< hehe Quote
Joshua Posted November 16, 2009 Posted November 16, 2009 I do see one thing :P $query1 = sprintf("UPDATE `users` SET money = money - $cost WHERE `userid`=$userid"); mysql_query($query1); You sprintf but didnt sprint f anything :P hehe should be $query1 = sprintf("UPDATE `users` SET money = money - %u WHERE `userid`= %u", $cost, $userid); $db->query($query1); OR $db->query(sprintf("UPDATE `users` SET money = money - %u WHERE `userid` = %u", $cost, $userid)); But good work :) Quote
Zero-Affect Posted November 16, 2009 Posted November 16, 2009 Nice little mod :) I like mine tho >,< hehe Suck a nice guy ain't ya :) Good job mate Quote
Curt Posted November 16, 2009 Author Posted November 16, 2009 I do see one thing :P $query1 = sprintf("UPDATE `users` SET money = money - $cost WHERE `userid`=$userid"); mysql_query($query1); You sprintf but didnt sprint f anything :P hehe should be $query1 = sprintf("UPDATE `users` SET money = money - %u WHERE `userid`= %u", $cost, $userid); $db->query($query1); OR $db->query(sprintf("UPDATE `users` SET money = money - %u WHERE `userid` = %u", $cost, $userid)); But good work :) lol...thanks for the tip immortalthug :P im glad you guys like it :) cheers Quote
Gucci Mane Posted November 23, 2009 Posted November 23, 2009 Curts mod updated by Gucci Mane REPLACE your spy.php with this one You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote
AnonymousUser Posted January 23, 2013 Posted January 23, 2013 spy.php -- w/o forum junk You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. what i am looking for is someone to add users logs to where they can see the last 3 spies on that user when attempting another spy ill pay 15$ to someone who can add in some sort of log for the players :) and i would prefer it to be "open" ill pay for the work to be posted in forum, must work though Quote
AnonymousUser Posted January 24, 2013 Posted January 24, 2013 Alright! As requested, Thanks To Kyle Massacre for doing this i just changed a few things to my liking and im sure you will be just as pleased. So here ya go work that i had paid for just for you peoples :) Dont ask why just accept it :D spy.php ----- (With Logs) ----- You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. .sql You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.