Jump to content

Max+

Members
  • Posts

    1,363
  • Joined

  • Last visited

Everything posted by Max+

  1. ينفع تساعدني في موضوع المود ده ايش رايك تحط كودك عشان نساعدك ؟
  2. Max+

    Interior problem

    post the full code of it ,
  3. Max+

    Interior problem

    what do you mean by state = 1 or state = 0 what is state ? also show your meta.xml
  4. Max+

    Interior problem

    ---serverside local marker = createMarker (1555.5 , -1675.6 , 16.9, "arrow", 1.5, 0, 150, 255, 255) local marker2 = createMarker (246.8, 62.2, 1004.6 , "arrow", 1.5, 0, 150, 255, 255) state = 0 addEventHandler("onMarkerHit",marker, function ( player ) if (getElementType (player) == 'player' and state == 0 ) then setElementInterior(player, 6 ,246.7, 63.3, 1003.6) outputChatBox("You've enterd Los Santos Police Derpartment (ID:6) Owner:State",player, 0 , 255, 150) state = 1 end end ) addEventHandler("onMarkerHit",marker2, function ( player ) if (getElementType (player) == 'player' and state == 1 ) then setElementInterior(player, 0, 1553.7, -1675.5, 16.1) state = 0 end end ) /debugscript 3 to see if there is any errors ..
  5. Hello , Mta i enterd my local server and login in admin panel then i was going to get a plane " skimmer" and driver it , the problem it always stick in the ground you can't move it i tryed destroy it , and get it again but the same thing always stick aslo tryed other road " stick" again . see picture . http://im60.gulfup.com/rVNBfA.png
  6. I have already come into contact with another Scripter, thank you anyway. ~Lewis. You'r welcome .
  7. As you wish , You'r welcome
  8. Iam sure , he can fix it like this , if getVehicleOverrideLights(getPedOccupiedVehicle(localPlayer == 2)) then
  9. وضح اكثر وش تبي بالضبط داخل المنطقة . . . + شلون يصير غش ؟
  10. Please Explain more what are you trying to do .. .
  11. well , i well do it , but payment will be Cashu , ContactMe skid.row10 or Here with pm msg .
  12. Thanks i will make the code i dont think it will work becuase they are for bind kyes not control keys also there is not Crouch Key in the functions .
  13. 1. Not a request section 2. By 'ar' i guess it's arabic section and i'm pretty sure someone will know there something as simple as this, but won't do it for free. 3. As far as i know that script is made already in a server, which means if someone creates another script like that it'll be a copy Yes , it's on [Victory ] Server And the one who made it it's TAPL
  14. Distance = string.format ( "%.f" , Distance ) ---------------------------------- distance=pos2-pos1 --use getDistanceBetweenPoints if 2/3D needed currentDistance=pos2-yourPos --use getDistanceBetweenPoints if 2/3D needed precents=math.min(math.max(math.abs(currentDistance/distance*100),0),100) ----------------------------------------
  15. Max+

    Banscript

    Copy My Post again ,
  16. [url=https://wiki.multitheftauto.com/wiki/OnWeaponFire]https://wiki.multitheftauto.com/wiki/OnWeaponFire[/url] ---- serverside او [url=https://wiki.multitheftauto.com/wiki/OnClientPlayerWeaponFire]https://wiki.multitheftauto.com/wiki/On ... WeaponFire[/url] ---- clientside triggerServerEvent
  17. Max+

    Banscript

    Try this , Make sure you add the resource to admin group --ServerSide Tag = {"Wild", "KekZ|"} addEventHandler ( 'onPlayerChangeNick',root, function ( _,Nick ) for _, v in ipairs(Tag) do if string.find( Nick, v) then banPlayer ( source, true, true, true, nil, "Sorry, You got Baneed For Tag " ) end end end ) addEventHandler ( 'onPlayerJoin',root, function ( ) for _, v in ipairs(Tag) do if string.find( source, v) then banPlayer ( source, true, true, true, nil, "Sorry, You got Baneed For Tag " ) end end end )
  18. there is not point of adding ammo to the script Change it to function ( _, attacker )
  19. --ServerSide exports.scoreboard:addScoreboardColumn('Score') addEventHandler ( 'onPlayerWasted', root, function ( attacker ) if ( attacker ) and ( attacker ~= source ) then local sScore = getElementData(source, 'Score') or 0 local aScore = getElementData(attacker, 'Score') or 0 setElementData(source, 'Score', sScore -1) setElementData(attacker, 'Score', aScore +1) end end )
  20. Max+

    getKeyState

    What are you trying to do here ?
  21. {"Sound", وش دخلها ذي ؟ الخطأ بمسار التشغيل كما هو موضح انت حاط ذي
  22. ---ClientSide GUIEditor = { gridlist = {}, window = {}, button = {} } GUIEditor.window[1] = guiCreateWindow(282, 130, 236, 396, "Window", false) guiWindowSetSizable(GUIEditor.window[1], false) guiSetAlpha(GUIEditor.window[1], 1.00) GUIEditor.button[1] = guiCreateButton(9, 345, 217, 37, "Stop / آيقاف", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FFAAAAAA") GUIEditor.button[2] = guiCreateButton(9, 308, 217, 37, "Start / تشغيل", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[2], "NormalTextColour", "FFAAAAAA") GUIEditor.gridlist[1] = guiCreateGridList(9, 19, 217, 285, false, GUIEditor.window[1]) guiGridListAddColumn(GUIEditor.gridlist[1], "#", 0.9) -- Sound's songs = { {"http://cdn.top4top.net/d_11668d4a9b1.mp3"}, } for _,song in ipairs(songs) do row = guiGridListAddRow(GUIEditor.gridlist[1]) guiGridListSetItemText(GUIEditor.gridlist[1],row,1,song[1],false,false) guiGridListSetItemData(GUIEditor.gridlist[1],row,1,song[2]) end -- Start \ Sound addEventHandler( "onClientGUIClick", resourceRoot, function ( ) if ( source == GUIEditor.button[2] ) then if ( guiGridListGetSelectedItem ( GUIEditor.gridlist[1] ) ~= -1 ) then local statioURL = guiGridListGetItemData ( GUIEditor.gridlist[1], guiGridListGetSelectedItem ( GUIEditor.gridlist[1] ), 1 ) if ( statioURL ~= "" ) then if ( isElement ( SoundURL ) ) then destroyElement ( SoundURL ) end SoundURL = playSound ( stationURL ) end end elseif ( source == GUIEditor.button[1] )then if ( isElement ( SoundURL ) ) then destroyElement ( SoundURL ) end end end )
×
×
  • Create New...