Cris8Gamer Posted April 8, 2015 Posted April 8, 2015 Salut, caut o resursa cu shop iteme costume etc. Cum sunt pe multe servere romanesti la antena ai mare din LV. Stiti care va rog imi puteti da una?
Cris8Gamer Posted April 8, 2015 Author Posted April 8, 2015 Rezolvatt mai am o intrebare cum se numeste resursa aia sa arate le admini deasupra capului imagine cu STAFF/ ?
Tekken Posted April 8, 2015 Posted April 8, 2015 Rezolvatt mai am o intrebare cum se numeste resursa aia sa arate le admini deasupra capului imagine cu STAFF/ ? Nu se numeste pentru ca nu exista pe community, dar iti poti crea una folosind dxDrawImage
Cris8Gamer Posted April 8, 2015 Author Posted April 8, 2015 Imi poti face un mic tutorial pls? cum fac sa arate doar la admini? trebuie sa o setez? sunt cam nablet :]]]
Tekken Posted April 8, 2015 Posted April 8, 2015 Asta e doar un exemplu NU va merge la ce iti trebuie tie, pentru ce vrei tu mai ai nevoie de urmatoarele functii: getCameraMatrix getPedBonePosition getScreenFromWorldPosition isLineOfSightClear dxDrawImage Client: local width,height = guiGetScreenSize() function dxDrawOnDuty() dxDrawImage ( screenWidth - x, y, width, height, 'image.png') end addEvent("dxDrawOnDuty", true) addEventHandler("dxDrawOnDuty", dxDrawOnDuty) Server: function OnDuty(player) if isObjectInACLGroup("user."..getAccountName(getPlayerAccount(player)), aclGetGroup("Admin")) then triggerClientEvent(player,"dxDrawOnDuty", player) end end addCommandHandler("onduty", OnDuty)
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