Jump to content

Assassin V2


Recommended Posts

Bought this modification on McCodes, but it is not working. The readme is this:


1. Add assassin.php to your server.

2. Add this line of code to your viewuser page under the links section:

print"[<a href=assassin.php?ID={$r['userid]}'>Assassinate</a>]<br /><br />";

That's It.

The first part wasn't that difficult :)

But part 2...i don't have a viewuser page (profile.php i have). And second, if i add this code to profile.php i get an error while i execute the php file.

Ofcourse i edited something to fit it around, but then i get


You don't have enough brave to do this.

Lol, i don't even have brave in my game....so what does this mean?

Part of the code (it's a paid version, so i guess i can't dump the whole code here)


mysql_query("UPDATE users SET hospital=$hospital,hospreason='Assassinated.' WHERE userid={$_GET['ID']}",$c);
event_add($r['userid'],"You were assassinated and put into the hospital for $hospital minutes.",$c,'general');
mysql_query("UPDATE users SET money=money-{$_GET['PAID']},brave=brave-5 WHERE userid=$userid",$c);
die("Your target has been successfully hit without complications, congratulations.");


Anyone has an idea?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...