Axel Posted March 3, 2012 Author Posted March 3, 2012 Basically when i press t nothing happens.. Maybe we need to check if the player is logged in like here : function grabbAnimation(thePlayer, cmd, arg) local logged = getElementData(thePlayer, "loggedin") if (logged==1) then exports.global:applyAnimation( thePlayer, "BAR", "Barserve_bottle", 2000, false, false, false) end end addCommandHandler ( "grabbottle", grabbAnimation, false, false )
Castillo Posted March 3, 2012 Posted March 3, 2012 It works perfectly fine here, are you sure you set client as client side and server as server side, right?
Castillo Posted March 3, 2012 Posted March 3, 2012 I guess it's some kind of bug with your game mode (vG).
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