Jump to content

eAd

Members
  • Posts

    20
  • Joined

  • Last visited

Everything posted by eAd

  1. eAd

    Cars

    How Create Marker Like CiT
  2. eAd

    Cars

    Thanx Create this createMarker(0,0,0,"cylinder", 4, 255, 255, 255 ) In my code ?
  3. eAd

    Cars

    Im Aregnitena
  4. eAd

    Cars

    Work Work Thx But how edit in cylinder marker I want red color and marker small
  5. eAd

    Cars

    This Errors
  6. eAd

    Cars

    Plzz help repier my full code Where the best scripting !!
  7. eAd

    Cars

    Bi know but is error in make local server Plzz repier my code Car system
  8. eAd

    Cars

    I dont have server now Can you Past code and test code and repirt Plzz
  9. eAd

    Cars

    This is EXACTLY
  10. eAd

    Cars

    This Errors
  11. eAd

    Cars

    Plzz help !
  12. eAd

    Cars

    No Work All Code No Work
  13. eAd

    Cars

    deebugscript Spwan Eror Trigger Eror if source button error .. And no marker !
  14. eAd

    Cars

    I dont know Look to code and repier plz
  15. eAd

    Cars

    I want help
  16. eAd

    Cars

    i want help you are look proplem in code ?
  17. eAd

    Cars

    all code don't work >
  18. eAd

    Cars

    repir this code cient GUIEditor = { gridlist = {}, memo = {} } addEventHandler("onClientResourceStart", resourceRoot, function() wnd = guiCreateWindow(191, 82, 474, 427, "[PS] Cars System By Mostafa", false) guiWindowSetSizable(wnd, false) guiSetAlpha(wnd, 0.92) guiSetProperty(wnd, "CaptionColour", "FF788D6B") 1 = guiCreateButton(9, 19, 129, 79, "NGR-500", false, wnd) guiSetFont(1, "default-small") guiSetProperty(1, "NormalTextColour", "FF1A0AF4") 2 = guiCreateButton(9, 130, 129, 73, "Banshee", false, wnd) guiSetFont(2, "default-small") guiSetProperty(2, "NormalTextColour", "FF24F508") 3 = guiCreateButton(9, 258, 129, 70, "BMX", false, wnd) guiSetFont(3, "default-small") guiSetProperty(3, "NormalTextColour", "FFF92603") 5 = guiCreateButton(155, 20, 116, 78, "Alpha", false, wnd) guiSetFont(5, "default-small") guiSetProperty(5, "NormalTextColour", "FFC536C3") 6 = guiCreateButton(154, 139, 136, 64, "GTR-500", false, wnd) guiSetFont(6, "default-small") guiSetProperty(6, "NormalTextColour", "FF1909F1") 7 = guiCreateButton(164, 266, 136, 62, "Bobcat", false, wnd) guiSetFont(7, "default-small") guiSetProperty(7, "NormalTextColour", "FF05DBF4") GUIEditor.memo[1] = guiCreateMemo(12, 334, 298, 83, "New Cars In GridList \n\n,Mostafa [PS]\n\nUpdate : Add Yamaha R1", false, wnd) GUIEditor.gridlist[1] = guiCreateGridList(319, 24, 145, 393, false, wnd) guiGridListAddColumn(GUIEditor.gridlist[1], "New Cars", 0.9) for i = 1, 4 do guiGridListAddRow(GUIEditor.gridlist[1]) end guiGridListSetItemText(GUIEditor.gridlist[1], 0, 1, "BMW|SOON", false, false) guiGridListSetItemText(GUIEditor.gridlist[1], 1, 1, "Ferari|SOON", false, false) guiGridListSetItemText(GUIEditor.gridlist[1], 2, 1, "PS Car| SOON", false, false) guiGridListSetItemText(GUIEditor.gridlist[1], 3, 1, "Yamaha R1 ", false, false) end ) addEventHandler ( 'onClientGUIClick', resourceRoot, function( ) if ( source == 1) then triggerServerEvent ( 'car1', localPlayer ) end end ) addEventHandler ( 'onClientGUIClick', resourceRoot, function( ) if ( source == 2) then triggerServerEvent ( 'car2', localPlayer ) end end ) addEventHandler ( 'onClientGUIClick', resourceRoot, function( ) if ( source == 3) then triggerServerEvent ( 'car3', localPlayer ) end end ) addEventHandler ( 'onClientGUIClick', resourceRoot, function( ) if ( source == 4) then triggerServerEvent ( 'car4', localPlayer ) end end ) addEventHandler ( 'onClientGUIClick', resourceRoot, function( ) if ( source == 5]) then triggerServerEvent ( 'car5', localPlayer ) end end ) addEventHandler ( 'onClientGUIClick', resourceRoot, function( ) if ( source == 6) then triggerServerEvent ( 'car6', localPlayer ) end end ) addEventHandler ( 'onClientGUIClick', resourceRoot, function( ) if ( source == 7) then triggerServerEvent ( 'car7', localPlayer ) end end ) local marker = createMarker(x,y,z ) addEventHandler('onClientMarkerHit',marker,function (plr) if plr == localPlayer then guiSetVisible(GUIEditor.button,true) end end ) Server local vehicle = {} addEvent( 'car', true ) addEventHandler( 'car1', root,function() local x, y, z = getElementPosition ( source ) if isElement(vehicle[source]) then destroyElement(vehicle[source]) vehicle[source] = nil end vehicle[source] = createVehicle ( 431, x, y, z + 10 ) outputChatBox ( "Car Spwan!", source) end ) local vehicle = {} addEvent( 'car2', true ) addEventHandler( 'car', root,function() local x, y, z = getElementPosition ( source ) if isElement(vehicle[source]) then destroyElement(vehicle[source]) vehicle[source] = nil end vehicle[source] = createVehicle ( 432, x, y, z + 10 ) outputChatBox ( "Car Spwan!", source) end ) local vehicle = {} addEvent( 'car3', true ) addEventHandler( 'car', root,function() local x, y, z = getElementPosition ( source ) if isElement(vehicle[source]) then destroyElement(vehicle[source]) vehicle[source] = nil end vehicle[source] = createVehicle ( 434, x, y, z + 10 ) outputChatBox ( "Car Spwan!", source) end ) local vehicle = {} addEvent( 'car4', true ) addEventHandler( 'car', root,function() local x, y, z = getElementPosition ( source ) if isElement(vehicle[source]) then destroyElement(vehicle[source]) vehicle[source] = nil end vehicle[source] = createVehicle ( 421, x, y, z + 10 ) outputChatBox ( "Car Spwan!", source) end ) local vehicle = {} addEvent( 'car5', true ) addEventHandler( 'car', root,function() local x, y, z = getElementPosition ( source ) if isElement(vehicle[source]) then destroyElement(vehicle[source]) vehicle[source] = nil end vehicle[source] = createVehicle ( 132, x, y, z + 10 ) outputChatBox ( "Car Spwan!", source) end ) local vehicle = {} addEvent( 'car6', true ) addEventHandler( 'car', root,function() local x, y, z = getElementPosition ( source ) if isElement(vehicle[source]) then destroyElement(vehicle[source]) vehicle[source] = nil end vehicle[source] = createVehicle ( 232, x, y, z + 10 ) outputChatBox ( "Car Spwan!", source) end ) local vehicle = {} addEvent( 'car7', true ) addEventHandler( 'car', root,function() local x, y, z = getElementPosition ( source ) if isElement(vehicle[source]) then destroyElement(vehicle[source]) vehicle[source] = nil end vehicle[source] = createVehicle ( 442, x, y, z + 10 ) outputChatBox ( "Car Spwan!", source) end )
×
×
  • Create New...