Jump to content

iMr.3a[Z]eF

Members
  • Posts

    862
  • Joined

  • Last visited

Everything posted by iMr.3a[Z]eF

  1. read carefully
  2. EDITED !
  3. u can explain more .. you want it full? addEventHandler( "onResourceStart", function () removeCommandHandler("Warp") end ) edited!
  4. onPlayerWated???????
  5. use this viewtopic.php?f=108&t=33905
  6. because he made client side and he don't wanna told us about it
  7. you can use guiCreateStaticImage and set parent
  8. do you want it by specific weapon or any weapons?
  9. "onResourceStart" removeCommandHandler
  10. So how do you want it then? Big. without alpha? createMarker Click the function and learn how can you edit my code.
  11. You put the event inside the function most be like this function moveVehicle ( ) local x,y,z = getElementPosition(source) local vehicle = getPedOccupiedVehicle(source) local veh_health = getElementHealth ( vehicle ) local pl_health = getElementHealth ( source ) if ( vehicle ) then if veh_health == 0 or pl_health == 0 then setElementPosition ( vehicle, x,y,z-100 ) outputChatBox ( "Red #FFFFFFWhite", getRootElement(), 255, 0, 0, true ) end end end addEventHandler ("onVehicleExplode", source, moveVehicle)
  12. this explain everything local marker = createMarker ( x, y, z, "cylinder", 1.5, 255, 0, 0, 170 ) addEventHandler( "onMarkerHit", function ( player ) local PlayerTeam = getPlayerTeam ( player ) local Team = getTeamFromName ( "staff" ) if playerTeam == Team then outputChatBox ( "* welcome Staff ", player, 255, 0, 0) else killPed(player) end end ) # Replace 1- x, y ,x == the position for the area
  13. i really dont understand YA,,,,
  14. Without getPlayerTeam anyone can enter the place you want
  15. write the position where you want it for the team i mean write the position where the area's gate
  16. you did no think !
  17. ههههههههههههه هذا كله عشان الأوت بوت شات ذذذ,,
  18. Post it here with using the LUA syntax
  19. function rdx(message) removeEventHandler ( "onClientRender", getRootElement(), dx ) function dx() dxDrawText("Admin :",13.0,167.0,55.0,182.0,tocolor(255,0,0,255),1.0,"default-bold","left","top",false,false,false) dxDrawText(message,58.0,168.0,799.0,224.0,tocolor(255,255,255,255),1.0,"default-bold","left","top",false,false,false) end addEventHandler("onClientRender", getRootElement(), dx) end addEvent("Sora", true ) addEventHandler("Sora", getRootElement(), rdx) bindKey("u", "down", "chatbox","Admin") function check(thePlayer, commandName,...) local accName = getAccountName ( getPlayerAccount ( thePlayer ) ) if isObjectInACLGroup ( "user." .. accName, aclGetGroup ( "Admin" ) ) then local veve = {...} local message = table.concat(veve, " ") triggerClientEvent("Sora", getRootElement(),message) end end addCommandHandler("Admin", check) مثال للمود العاجل حق سورا
  20. createColSphere "onColShapeHit" -- event getPlayerTeam outputChatBox else killPed or spawnPlayer or easier createMarker "onMarkerHit" -- event getPlayerTeam outputChatBox else killPed or spawnPlayer
  21. do you mean that you want only a team can go inside the area?
  22. I really dont understand ya
  23. do you think he leaked it from you?
  24. getPlayerAdminLevel isPlayerAdmin what are these functions? its my first time to see them then these aren't in wiki
×
×
  • Create New...