#F9SoOoL Posted June 7, 2017 Share Posted June 7, 2017 (edited) elseif source == create then if guiGridListGetSelectedItem ( playergrid ) ~= -1 then local selected = guiGridListGetItemData ( playergrid, guiGridListGetSelectedItem ( playergrid ), 1 ) if ( plr ) and ( plr ~= localPlayer ) then local x,y,z = getElementPosition(plr) createBlip (x, y, Z, 41, 2) end end end وش الخطآ ههنآ ي ششباب .. الدي بق : WARNING: x\c.lua:390: Bad argument @ 'getElementPosition' [Expected element at argument 1, got string 'left'] WARNING: x\c.lua:391: Bad argument @ 'createBlip' [Expected vector3 at argument 1, got boolean] plr معرف بالفنكشن :] Edited June 7, 2017 by #F9SoOoL Link to comment
^iiEcoo'x_) Posted June 7, 2017 Share Posted June 7, 2017 if ( getPlayerFromName ( plr ) ) and ( getPlayerFromName ( plr ) ~= localPlayer ) then local x,y,z = getElementPosition ( getPlayerFromName ( plr ) ) createBlip ( x, y, Z, 41 , 2 ) 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