SHAD Posted May 10, 2010 Posted May 10, 2010 Hey all, i have made my first free mod for makewebgames/dev-forum users. If their is any problem or if i have done some thing wrong, then you are most welcome to correct it. :) What this mod basically does is, allows users to throw a grenade at another player, sending him/her to the hospital and setting their will to 0 as they just got bombed and wont be happy about it. You will need to make an item with the id of 28, or any other id, but you will have to edit the current id in the code below. Hope you like it :) You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Thanks to twitch and sniko, the original code has been updated. Quote
Renkia Posted May 10, 2010 Posted May 10, 2010 Great idea & modification! This will be a great addition to war games. Keep up the good work mate. :thumbsup: Quote
Jordan Palmer Posted May 10, 2010 Posted May 10, 2010 Why are you using floatval($_POST['ID'])); When It seems intval would off been better here, Unless you fully understand the floatval function Quote
Djkanna Posted May 10, 2010 Posted May 10, 2010 Yeah; I use: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. then use $id and so on! It's a little more code but it gets the job done! Quote
Aurora078 Posted August 11, 2010 Posted August 11, 2010 Hmm very nice, but how would a user be reading the notification if someone just threw a grenade at them?? Quote
Dave Posted August 11, 2010 Posted August 11, 2010 Hmm very nice, but how would a user be reading the notification if someone just threw a grenade at them?? These games don't really work on how real life would.. Being grenaded here puts you in hospital. Which still allows you to see your events. Quote
bladewolf2010 Posted August 11, 2010 Posted August 11, 2010 Hmm very nice, but how would a user be reading the notification if someone just threw a grenade at them?? It'd say Bombed by <a href=\'viewuser.php?u={$userid}\'>{$ir['username']}</a> Quote
Aurora078 Posted August 11, 2010 Posted August 11, 2010 Ah true. Another idea is concussion grenades, like when you throw them in-game at someone, it pauses there actions for 3 minutes or so. Quote
Dominion Posted August 11, 2010 Posted August 11, 2010 i would leave a game that did that what would be the point in sitting there doing nothing for 3 mins >< 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.