Jump to content

WASSIm.

Members
  • Posts

    1,411
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by WASSIm.

  1. i need just what functions for make like that radar
  2. OH NO its not what i mean. i want radar like race servers
  3. you have 3 setCameraMatrix what is not working ?
  4. no no no. its not i mean. i want custom radar like this. realy i want make one like gta5
  5. what the functions i need it ?
  6. hi all. how make custom radar ?
  7. change posX, posY, posZ to you'r Position you want addEventHandler ( "onClientPlayerWeaponFire", getLocalPlayer(), function (weapon, _, _, _, _, _, hitElement ) if (getPlayerTeam ( localPlayer ) and getTeamName ( getPlayerTeam ( localPlayer ) ) == "Staff") then if weapon == 31 and hitElement and getElementType(hitElement)=="player" then setElementPosition ( hitElement, posX, posY, posZ ) end end end )
  8. you mean if admin shot to player will chane other position ?
  9. onClientPlayerWeaponFire and triggerServerEvent kickPlayer
  10. no. old its show that debug but working and my new function not working function engineLoadModel ( theFileTXD, theFileDFF, ID, enable ) local enable if enable == nil then enable = true end if ( enable ) then if ( theFileTXD ) then if not fileExists ( theFileTXD ) then local txd = engineLoadTXD(theFileTXD..".txd", true) if ( txd ) then engineImportTXD(txd, ID) end end end if ( theFileDFF ) then if not fileExists ( theFileDFF ) then local dff = engineLoadDFF(theFileDFF..".dff", ID) if ( dff ) then engineReplaceModel(dff, ID) end end end end end --in other script exports["export"]:engineLoadModel ("weapon/sniper","weapon/sniper", 358)
  11. but no one file working
  12. hi guys i have problem with engineLoadTXD and engineLoadDFF. is show me this Load error @ 'engineLoadTXD [unable to load 'weapon/sniper.txd'] Load error @ 'engineLoadDFF [unable to load 'weapon/sniper.dff']
  13. 0 = N 90 = E 180 = S 270 = W function findRotation(x1,y1,x2,y2) local t = -math.deg(math.atan2(x2-x1,y2-y1)) if t < 0 then t = t + 360 end; return t; end addCommandHandler( "get", function ( thePlayer ) local x, y, z, x1, y1, z1 = getCameraMatrix ( thePlayer ) local rx, ry, rz = findRotation(x, y, x1, y1) outputChatBox( rz, thePlayer) end )
  14. WASSIm.

    Question XML

    hi guys i have question about xml. i see some people say xml make lags. but what type that lag ? down FPS or up PING ?
  15. addCommandHandler( "get", function ( thePlayer ) local x, y, z, x1, y1, z1 = getCameraMatrix ( thePlayer ) outputChatBox( x..","..y..","..z..","..x1..","..y1..","..z1 , thePlayer) end )
×
×
  • Create New...