ERAGON007 Posted January 27, 2021 Share Posted January 27, 2021 So , we have an object local theObject = createObject(1959, 0, 0, 0) i want to know when a player beats theObject and for example if the total damage dealt was 100 then give the player an object Link to comment
Moderators IIYAMA Posted January 27, 2021 Moderators Share Posted January 27, 2021 18 minutes ago, ERAGON007 said: i want to know when a player beats theObject and for example if the total damage dealt was 100 then give the player an object There are 2 events: https://wiki.multitheftauto.com/wiki/Client_Scripting_Events#Object_events 1 1 Link to comment
Moderators Patrick Posted January 27, 2021 Moderators Share Posted January 27, 2021 Hi. You have to use onClientObjectDamage, check the example on wiki. 1 1 Link to comment
ERAGON007 Posted January 27, 2021 Author Share Posted January 27, 2021 Thanx to Patrick and IIYAMA 1 Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now