daffabahy Posted April 2, 2017 Posted April 2, 2017 Help me pls, i need your help. i dont know where's the problem. pls man function playerDropAItem(itemName) local x,y,z = getElementPosition(source) local item,itemString = getItemTablePosition(itemName) local itemPickup = createItemPickup(item,x+math.random(-1.25,1.25),y+math.random(-1.25,1.25),z,itemString) end addEvent( "playerDropAItem", true ) <export function="playerDropAItem" type="server" />
Ayush Rathore Posted April 2, 2017 Posted April 2, 2017 3 hours ago, daffabahy said: Help me pls, i need your help. i dont know where's the problem. pls man function playerDropAItem(itemName) local x,y,z = getElementPosition(source) local item,itemString = getItemTablePosition(itemName) local itemPickup = createItemPickup(item,x+math.random(-1.25,1.25),y+math.random(-1.25,1.25),z,itemString) end addEvent( "playerDropAItem", true ) <export function="playerDropAItem" type="server" /> function playerDropAItem(itemName) local player = client if client then local x,y,z = getElementPosition(player) local item,itemString = getItemTablePosition(itemName) local itemPickup = createItemPickup(item,x+math.random(-1.25,1.25),y+math.random(-1.25,1.25),z,itemString) end end addEvent( "playerDropAItem", true ) addEventHandler( "playerDropAItem", getRootElement(),playerDropAItem) This might help you 1 I am a paid scripter. Contact: [email protected] Instagram: https://www.instagram.com/ayush_kumar_rathore/ Give me a 'Thanks' if I helped.
NeXuS™ Posted April 2, 2017 Posted April 2, 2017 @Ayush Rathore, won't help him. His server sided script is not getting loaded, that's why there is an error. Did I help you? NeXuS™#0001
Ayush Rathore Posted April 3, 2017 Posted April 3, 2017 21 hours ago, NeXuS™ said: @Ayush Rathore, won't help him. His server sided script is not getting loaded, that's why there is an error. ok 1 I am a paid scripter. Contact: [email protected] Instagram: https://www.instagram.com/ayush_kumar_rathore/ Give me a 'Thanks' if I helped.
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