Archive
› Old Forum Threads › Help › Scripting Help › bomberman(explosive player) if he has object charges
3 posts,
2 people · 852 views
Thread Rating: ★★★★★
| closedbomberman(explosive player) if he has object charges |
| Started by ghzero on 07-23-2008, 02:33 PM |
started this thread
Posts: 160Threads: 42
Joined: Sep 2007
07-23-2008, 02:33 PM
#1
hello,rnrnI have an idea for an plugin:rna player takes an object charges like a bombpaket (like in dod_charlie), rnif he died until he used that object charge the object charge can make an explosion on the position that the player died.rnso to realise the plugin I need to know how to find out if an player has an object charge taken - maybe it exists an event for that (event for object-charge taken, drop oder use?!).rnrnhope that you can help me..
posted here
Posts: 2,068Threads: 103
Joined: May 2005
07-23-2008, 06:20 PM
#2
to catch when a client picks one up you can use this:n
/* Forward for when a player picks up a object */nforward dod_client_objectpickup(id, objid, pos[3], value);nnbut you would also have to check if the player still had it (or maybe hook when a player successfully plants one)started this thread
Posts: 160Threads: 42
Joined: Sep 2007
07-24-2008, 06:53 AM
#3
to catch when a client picks one up you can use this:rnrnrnthank you - that's one requirement for the plugin.rnrndo you know how to check if an player still had the object ,rnor how to check if the player drop or plant the object?!rnrnbut you would also have to check if the player still had it (or maybe hook when a player successfully plants one)/* Forward for when a player picks up a object */rnforward dod_client_objectpickup(id, objid, pos[3], value);
Archive
› Old Forum Threads › Help › Scripting Help › bomberman(explosive player) if he has object charges

