WASSIm. Posted August 19, 2014 Posted August 19, 2014 hi guys, event onElementModelChange not working ? there nothing on debug and i do manuel debug but nothing
Et-win Posted August 19, 2014 Posted August 19, 2014 Post script. Did you use it on Server-side? ~Scripts~ Clan War System V1.2.0 ~Maps~ [DM]Et-win - The Run [FUN]Et-win - Drift Rocket [FUN]Et-win - Drift Rocket // [DD]Et-win - Cross 3xC
WASSIm. Posted August 19, 2014 Author Posted August 19, 2014 yeah addEventHandler("onElementModelChange", root, function ( ) outputChatBox("Check player skin...", source, 255, 255, 0) if (getElementType(source) == "player") then triggerClientEvent(source, "onCheckPlayerSkin", source) outputChatBox("Check player skin...", source, 255, 255, 0) end end)
Et-win Posted August 19, 2014 Posted August 19, 2014 And you are sure 'setElementModel' is being used? Otherwise re-check meta.xml or it's really server-side. Otherwise than that: Weird... ~Scripts~ Clan War System V1.2.0 ~Maps~ [DM]Et-win - The Run [FUN]Et-win - Drift Rocket [FUN]Et-win - Drift Rocket // [DD]Et-win - Cross 3xC
WASSIm. Posted August 19, 2014 Author Posted August 19, 2014 And you are sure 'setElementModel' is being used? Otherwise re-check meta.xml or it's really server-side. Otherwise than that: Weird... i changed my skin by admin panel + script working but this event only don't work EDIT finaly its work its not working if change skin with admin panel
Et-win Posted August 19, 2014 Posted August 19, 2014 And you are sure 'setElementModel' is being used? Otherwise re-check meta.xml or it's really server-side. Otherwise than that: Weird... i changed my skin by admin panel + script working but this event only don't work EDIT finaly its work its not working if change skin with admin panel Because it uses 'setPedSkin' as far as I know. And the event only works with 'setElementModel' EDIT: Since Admin Panel is old, it may even using 'setPlayerSkin' if it was not updated to the new codes. ~Scripts~ Clan War System V1.2.0 ~Maps~ [DM]Et-win - The Run [FUN]Et-win - Drift Rocket [FUN]Et-win - Drift Rocket // [DD]Et-win - Cross 3xC
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