Jump to content

Max+

Members
  • Posts

    1,363
  • Joined

  • Last visited

Everything posted by Max+

  1. Hello I tryed give the Ped a Weapon but it didnt work ,, ClientSide .. function start () fadeCamera(true) skin = createPed ( StartSkin, 2749.7502441406,-2232.7170410156,61.727611541748,60 ) setCameraMatrix( 2745.8266601563,-2231.1694335938,62.25520324707, 3999.9999499991,-2607.4000244141,16.1) setPedControlState(skin, 'aim_weapon', true) setPedAnimation( skin, "DANCING", AnmieID[math.random(1,5)]) Intro = playSound("sounds/Music.mp3",true) showCursor(true) showChat(false) showPlayerHudComponent ( "all", false ) end i alraedy used triggerFormClientToServer like this , triggerServerEvent('give',localPlayer) addEvent .. addEventHandler.. function(skin) giveWeapon(skin, 34, 200 ) end ...
  2. I think it's possble because the x, y it's in dx and images functions it's shared ,
  3. Ok , يمسح سطر 6 وبس ,
  4. Thank's Man i really Understand the exporting !
  5. guiGetScreenSize This function retrieves the local screen size according to the resolution they are using.
  6. marker = createMarker('...') addEventHandler('onMarkerHit', marker, function (sVehicle) if(getElementType(sVehicle) == 'vehicle' ) then destroyElement(sVehicle) outputChatBox('You Vehicle Has Been Destroyed For Entering the Marker', source, 255, 0 ,0 ) end end )
  7. i Think He Mean Like Jussent GameMode 'lolmode' when start spawn then you see a cutsence then a plane landing in the airport ,
  8. addEventHandler('onPlayerCommand', root, function (cmd) if (cmd == 'buym4' ) then if(getPlayerMoney(source) >=2000 ) then takePlayerMoney(source, 2000) giveWeapon(source, 31, 200 ) outputChatBox ( "#00FF00Congratulations You Buyed M4 for 2000!", source, 255, 255, 0) else outputChatBox ( "#00FF00You Don't Have Enough Money!", source, 255, 255, 0) end end end )
  9. Max+

    [Tables]

    Ok Thank's Ludo , i Hope i finsh My GameMode Lol,
  10. استخدام animation حقت arc مثل كذا , function drawImage() local screenWidth, screenHeight = guiGetScreenSize() image1 = guiCreateStaticImage(screenWidth/2, screenHeight/40,100,100, 'gfx/img/one.png', false) Animation.createAndPlay(image1, Animation.presets.guiFadeIn(800)) Animation.createAndPlay(image1, Animation.presets.guiPulse(1000)) end addEventHandler ( "onClientResourceStart", getRootElement(), drawImage) ~
  11. سوجن , Please use isPedDead instead.
  12. Max+

    [Tables]

    Never Mined i will Talk to SolidSnake14,
  13. Max+

    [Tables]

    I mean the Buttons Table i show you in the debug i must close the Table go to mta script edtor and paste my Buttons Table and see the debug,
  14. Max+

    [Tables]

    This is My Buttons it debug of mta script edtor i tryed close the tabel but i cant, local ID = { [1] = [1.30,1.22,5,20,"<<<-"] [2] = [2.90,1.22,5,20,"->>>"] [3] = [1.80,1.22,5,20,"Ready!"] Now My GameMode it's 60% Tabels , it's Better,
  15. Max+

    [Tables]

    lol, iam Going to Try doing it , and add it to Useful function lol ,
  16. Max+

    [Tables]

    Iam understanding Tables Thank's to You Fahode , But if i want table for onClientGUIClick ?
  17. Max+

    [Tables]

    is it possible to make a table with gui Buttons ? and how ?
  18. Max+

    [Tables]

    I really appreciate your help,
  19. Max+

    [Tables]

    OK , Thank's I'm going to Try it ,
  20. He want make a tabele with vehicles if any one press the know vehicle then give him what he selected .
  21. Max+

    [Tables]

    i dont mean skins table i mean how to make Spawn Manger with Buttons , if resource start show 3 buttons < -- Go -- > if be press -- > then +1 skin if < -- then -1 skin go = spawn in spawn points , Just like Sa:Mp skin selector ,
  22. Max+

    [Tables]

    Hello Guys Iam not Good in Tables, i want to make a selection of skins and then spawn Just like Sa:mp selection skin then spawn ? with buttons Right - Left - Spawn . can some one show me an example ?
  23. the word love you it's not enough for Fixing my Script Thank's Fahad Really . Topic Closed ,
×
×
  • Create New...