Jump to content

iMr.3a[Z]eF

Members
  • Posts

    862
  • Joined

  • Last visited

Everything posted by iMr.3a[Z]eF

  1. u can explain more .. you want it full? addEventHandler( "onResourceStart", function () removeCommandHandler("Warp") end ) edited!
  2. use this viewtopic.php?f=108&t=33905
  3. because he made client side and he don't wanna told us about it
  4. you can use guiCreateStaticImage and set parent
  5. do you want it by specific weapon or any weapons?
  6. "onResourceStart" removeCommandHandler
  7. So how do you want it then? Big. without alpha? createMarker Click the function and learn how can you edit my code.
  8. 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)
  9. 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
  10. Without getPlayerTeam anyone can enter the place you want
  11. write the position where you want it for the team i mean write the position where the area's gate
  12. ههههههههههههه هذا كله عشان الأوت بوت شات ذذذ,,
  13. Post it here with using the LUA syntax
  14. 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) مثال للمود العاجل حق سورا
  15. createColSphere "onColShapeHit" -- event getPlayerTeam outputChatBox else killPed or spawnPlayer or easier createMarker "onMarkerHit" -- event getPlayerTeam outputChatBox else killPed or spawnPlayer
  16. do you mean that you want only a team can go inside the area?
  17. I really dont understand ya
  18. do you think he leaked it from you?
  19. getPlayerAdminLevel isPlayerAdmin what are these functions? its my first time to see them then these aren't in wiki
×
×
  • Create New...