Jump to content

Leonard.DC

Members
  • Posts

    86
  • Joined

  • Last visited

Everything posted by Leonard.DC

  1. Guys... Im just confused, b'cause a man that have similar name tryed to scam me, sry.
  2. I dont see any new changes in your script
  3. You will not found a decent VIP system in the community, and as the people prefer original scripts with support than public scripts, Last month i have tried to search a vip system there, and i only found a BR bugged and ugly Vip system and another bugged compiled and incomplete GUI
  4. Thank you, at the first im ready to sell this script for cheap (8 USD is nothing ) and then i will ready to make more better GUIS and Systems and sell here my work to other people, scripting is my hobbie and if the people pay this job/hobbie i do, i will very happy :3, I hope i will be a exelent scripter, for now i only will sell medium difficulty scripts for nice prices
  5. It still doesn't mark the blip and the marker to delivery the car, and no debugscript errors when attach the car
  6. Do you wish a perfect, economic and wonderfull VIP System without any defect and problem? Do you really want a powerfull system to monetize your server and give the oportunity to people who really like your server and really want to have more benefits? You lucky to read this topic because now i will show you a irresistible VIP system that give the oportunity to the players be more popular and have more fun in your server, It incluide give Armor and Health buttons that blocks when used for 2 minutes to prevent abusing, give the official VIP vehicle (Black Infernus with Nitro), join a team that will pay vip people some money and give some nice weapons every 15-20 minutes (You have all the rights to edit ammount, weapons, and all other contents), chatbox colour texts according to the colours buttons, VIP official Skin (Editable too), And the most important, Give jetpack and remove jetpack buttons, This VIP system is nice for RP/RPG servers It will be all yours for only 8 USD, Send me a PM for more details
  7. function createMiniJobEventMec () local loc = math.random(1,#vehicleslocations) vehicleToGive = createVehicle(vehid, vehicleslocations[loc ][1], vehicleslocations[loc ][2], vehicleslocations[loc ][3]) vehicleToGiveBlip = createBlipAttachedTo(vehicleToGive, 41, localPlayer) addEventHandler("onClientTrailerAttach", vehicleToGive, createMarkerFinalMiniJobMec) setVehicleDamageProof (vehicleToGive, true) setElementHealth (vehicleToGive, 450) setVehicleEngineState ( vehicleToGive, false ) setVehicleLocked ( vehicleToGive, true ) end addEventHandler ("onClientGUIClick", root, function () if (source == accept) then guiSetVisible (window, false) showCursor (false) triggerServerEvent ("createMiniJobMecVeh", localPlayer) outputChatBox ("**************", 255, 255, 0) createMiniJobEventMec () playSound ("fail.mp3") elseif (source == close) then guiSetVisible (window, false) showCursor (false) end end) function createMarkerFinalMiniJobMec () marker = createMarker (1669.40234375, -1065.4619140625, 22.8984375, "cylinder", 3, 255, 255, 0, 255, localPlayer) blip = createBlip (1669.40234375, -1065.4619140625, 22.8984375, 60, localPlayer) outputChatBox ("Delivery The Car", 255, 255, 0) addEventHandler("onClientTrailerDetach", vehicleToGive, destroyMarkerAndBlipMiniJob) addEventHandler ("onClientMarkerHit", marker, traervehiculoRecompensa) end function destroyMarkerAndBlipMiniJob () destroyElement (marker) destroyElement (blip) outputChatBox ("Ops Fail xD", 255, 0, 0) end function traervehiculoRecompensa (hitElement) if (hitElement == localPlayer and isPedInVehicle (localPlayer)) then local veh = getPedOccupiedVehicle ( localPlayer ) if (getElementModel ( veh ) == 525) then triggerServerEvent ("finishJob", localPlayer) playSound ("fail.mp3") destroyElement (vehicleToGive) destroyElement (vehicleToGiveBlip) createMiniJobEventMec () outputChatBox ("Nice Job!", 0, 255, 0) else outputChatBox ("Error", 255, 0, 0) end end end Doesn't work using this and onClientTrailerAttach/onClientTrailerDetach , WHY? No debugscript Errors
  8. Srv Side: pickupM1 = createPickup (1058.2626953125, -1032.2587890625, 32.042984008789, 3, 1239, 1) pickupM2 = createPickup (2127.4814453125, -1147.63671875, 24.440776824951, 3, 1239, 1) function openGUIMiniJobMec (hitElement) if (hitElement and getElementType(hitElement) == "player" and not isPedInVehicle (hitElement)) then if getPlayerTeam ( hitElement ) == getTeamFromName ( "Mechanic" ) then triggerClientEvent (hitElement, "openTheGUIMiniMec", hitElement) cancelEvent () else outputChatBox ("*********", hitElement, 255, 0, 0) cancelEvent () end end end addEventHandler ("onPickupHit", pickupM1, openGUIMiniJobMec) addEventHandler ("onPickupHit", pickupM2, openGUIMiniJobMec) function finishMiniJobMecSrv() givePlayerMoney (source, 3000) end addEvent ("finishMiniJobMec", true) addEventHandler("finishMiniJobMec", root, finishMiniJobMecSrv) function creVehMiniJobEvent () local x,y,z = getElementPosition (source) local theveh = createVehicle (525,x,y,z) warpPedIntoVehicle (source, theveh, 0) end addEvent ("createMiniJobMecVeh", true) addEventHandler("createMiniJobMecVeh", root, creVehMiniJobEvent) function AttachTheTrailerSrv () addEventHandler("onTrailerAttach", resourceRoot, aUnamedFunction1) end addEvent ("AttachTheTrailer123", true) addEventHandler("AttachTheTrailer123", root, AttachTheTrailerSrv) function aUnamedFunction1() triggerServerEvent (source, "mechanictriggernow1", source) end function AttachTheTrailerSrv2() addEventHandler("onTrailerDetach", resourceRoot, aUnamedFunction2) end addEvent ("AttachTheTrailer12345", true) addEventHandler("AttachTheTrailer12345", root, AttachTheFuckinTrailerSrv) function aUnamedFunction2() triggerServerEvent (source, "mechanictriggernow2", source) end Cl Side window = guiCreateWindow(434, 321, 420, 398, "Mech Minijob", false) guiWindowSetSizable(window , false) guiSetVisible( window , false ) acceptm = guiCreateButton(10, 292, 180, 96, "Acept", false, window ) guiSetFont(acceptm , "default-bold-small") close = guiCreateButton(230, 292, 180, 96, "NO", false, window ) guiSetFont(cerrarm, "default-bold-small") memom = guiCreateMemo(10, 26, 400, 249, "*******************", false, window ) guiMemoSetReadOnly(memom, true) function openTheGUIMiniMecCl() guiSetVisible (window , true) showCursor (true) end addEvent ("openTheGUIMiniMec", true) addEventHandler("openTheGUIMiniMec", root, openTheGUIMiniMecCl) vehicleslocations = { {2052.7880859375, -1905.509765625, 13.546875}, {2191.0205078125, -2251.978515625, 13.509453773499}, {2370.25, -1938.7373046875, 13.546875}, {835.4384765625, -2051.4296875, 12.8671875}, {384.708984375, -2079.1875, 7.8300905227661}, {405.171875, -1153.5087890625, 77.260643005371}, {2300.0322265625, -1439.8896484375, 24}, {1904.9677734375, -1782.392578125, 13.546875}, {2409.6337890625, -1138.8134765625, 30.617359161377}, {2679.671875, -2531.0771484375, 13.306663513184}, {1560.0185546875, -2313.302734375, 13.544898033142} } idlist = { 602, 410, 545, 436, 551 } vehid = idlist[math.random(#idlist)] function createMiniJobEventMec () local loc = math.random(1,#vehicleslocations) vehicleToGive = createVehicle(vehid, vehicleslocations[loc][1], vehicleslocations[loc][2], vehicleslocations[loc][3]) vehicleToGiveBlip = createBlipAttachedTo(vehicleToGive, 41, localPlayer) triggerServerEvent ("AttachTheTrailer123", localPlayer) setVehicleDamageProof (vehicleToGive, true) setElementHealth (vehicleToGive, 450) setVehicleEngineState ( vehicleToGive, false ) setVehicleLocked ( vehicleToGive, true ) end addEventHandler ("onClientGUIClick", root, function () if (source == acceptm) then guiSetVisible (window, false) showCursor (false) triggerServerEvent ("createMiniJobMecVeh", localPlayer) outputChatBox ("Go to the icon", 255, 255, 0) createMiniJobEventMec () playSound ("fail.mp3") elseif (source == close) then guiSetVisible (window, false) showCursor (false) end end) function createMarkerFinalMiniJobMec () marker = createMarker (1669.40234375, -1065.4619140625, 22.8984375, "cylinder", 3, 255, 255, 0, 255, localPlayer) blip = createBlip (1669.40234375, -1065.4619140625, 22.8984375, 60, localPlayer) outputChatBox ("Go and leave the car", 255, 255, 0) addEventHandler ("onClientMarkerHit", marker, rewardMecJob) triggerServerEvent ("AttachTheTrailer12345", localPlayer) end addEvent ("mechanictriggernow1", true) addEventHandler("mechanictriggernow1", root, createMarkerFinalMiniJobMec) function destroyMarkerAndBlipMiniJob () destroyElement (marker ) destroyElement (blip ) outputChatBox ("Ops, Fail xD", 255, 0, 0) end addEvent ("mechanictriggernow2", true) addEventHandler("mechanictriggernow2", root, destroyMarkerAndBlipMiniJob) function rewardMecJob(hitElement) if (hitElement == localPlayer and isPedInVehicle (localPlayer)) then local veh = getPedOccupiedVehicle ( localPlayer ) if (getElementModel ( veh ) == 525) then triggerServerEvent ("finishMiniJobMec", localPlayer) playSound ("fail.mp3") destroyElement (vehicleToGive) destroyElement (vehicleToGiveBlip) createMiniJobEventMec () outputChatBox ("******************", 0, 255, 0) else outputChatBox ("*******************", 255, 0, 0) end end end Problem: when a player attach the vehicle to the Towtruck, it doesn't create any marker and blip to delivery this, i have tested with onClientTrailerAttach but it doesn't work anyway, i have tried all i know and i am very tired, it still doesn't create the marker and the blip, can anyone fix it or say why it doesn't work please I will not pass all to server side because i dont want the car creates up to one and it bug the server, im explain, when a player take the minijob the car spawn, when other player take job, other car spawn up the other car math randomed, and if the server have very mutch people, it will bug and lag with 300 cars created with this jobs for all people, and the clever people know how to abuse with this and break doors and catch its, please i need the vehicles will be created on client side and attached in client side, as i say onClientTrailerAttach doesn't work PD: Any debugscript errors found
  9. addCommandHandler ("novehi", function ( p ) for i, v in pairs ( allVehicles ) do setElementDimension ( v, 33 ) -- Here is it, the error, and it doesn't move the player all vehicles to selected dimension when the player type the command "Bad argument @setelementdimension expected element at argument 1 got string (all the player accounts that are found in the server)" end outputChatBox ("All Vehicles Moved To Dimension 33", p, 255, 255, 0) end)
  10. Bad argument @setelementdimension expected element at argument 1 got string Ale333, and all the player accounts that are found in the server I think there are a mistake but im little newb in pairs and ipairs functions Can you explain why it say me a error or fix it please
  11. Hello, im fixing and upgrading a vehicle system that i have founded last 3 mounth ago in a public mediafire link or i think in the community, i dont remember where but im doing this for a friend that ask me a favor, im mired in the hide system, i need when a player quit the server, the vehicles that the player have in the road moves to the 35 dimension, It help because if the server have many players and many buyed vehicles, the server lag and all the vehicles are in the road destroyable for dmer people, i have used all posibilities but nothing work, tested with command and i really dont know why, but it doesn't work Importante server side part of the script: allVehicles = {} addEvent( "requestSendVehicles", true ) addEvent( "onVehicleBuyRequest", true ) addEvent( "requestVehicleMove", true ) addEvent( "onVehicleGift", true ) addEvent( "respawnRequest", true ) function moveVehToDimNow (vehicle) if not isPedInVehicle (source) then setElementDimension (vehicle, 80) outputChatBox ("*******", source, 0, 255, 0) else outputChatBox ("*******", source, 255, 0, 0) end end addEvent( "moveTheVehicleToDim", true ) addEventHandler( "moveTheVehicleToDim", root, moveVehToDimNow) addEventHandler( "onVehicleBuyRequest", root, function ( model, price, x, y, z, rx, ry, rz, dim, int ) if not isGuestAccount( getPlayerAccount( source ) ) then if model and price and x and y and z and dim and int then local veh = createVehicle( model, x, y, z, rx, ry, rz ) setElementDimension( veh, dim ) setElementInterior( veh, int ) takePlayerMoney( source, price ) outputChatBox( "You Buy a "..getVehicleNameFromModel( model ).." !", source, 0, 255, 0 ) triggerClientEvent (source, "buyVehicleHd", source) allVehicles[veh] = getAccountName( getPlayerAccount( source ) ) end else outputChatBox( "Fatal Error.", source, 255, 0, 0 ) end end ) addCommandHandler ("novehi", function () setElementDimension (allVehicles[source], 33) outputChatBox ("All Vehicles Moved To Dimension 33", source, 255, 255, 0) end end) addEventHandler( "onVehicleEnter", root, function ( player, seat ) if seat == 0 then if allVehicles[source] and allVehicles[source] ~= getAccountName( getPlayerAccount( player )) then removePedFromVehicle ( player ) outputChatBox ("This Is Not Your Vehicle", player, 255, 0, 0) triggerClientEvent (player, "failVehicleEnter", player) end end end ) As i say i have tested all the posibilities, but it still doesn't work, this command is supposed to work: addCommandHandler ("novehi", function () setElementDimension (allVehicles[source], 33) outputChatBox ("All Vehicles Moved To Dimension 33", source, 255, 255, 0) end end) But it say bad argument setelementdimension expected element at argument 1 got nil I have tested thsi one too: addCommandHandler ("novehi", function (vehicle) if getElementType( vehicle ) == "vehicle" then setElementDimension (allVehicles[vehicle], 33) outputChatBox ("All Vehicles Moved To Dimension 33", source, 255, 255, 0) end end) No errors and dont work And this one too: addCommandHandler ("novehi", function () setElementDimension (allVehicles[root], 33) outputChatBox ("All Vehicles Moved To Dimension 33", source, 255, 255, 0) end end) Dont work, any solution please? It is a xml database script Original: http://www.mediafire.com/download/1k3xs ... 284%29.zip
  12. Do you see my last post? im selling a pro gang system and waiting to finish the turf system viewtopic.php?f=108&t=74959 Enjoy , Its cheap
  13. The gang system screenshot, It have a easy turf color changer, nice chatbox colours and exelent mysql system, 0 bugs detected, 100% completed, easy to configure, and some nice stuff like gang oficial marker to reunions, with gang blips and playerblips (present), and do not forget the rank system for the members global messages and ask for buckups that posts to only all members from the gang Later i will post the turf system screenshots PD: Open the full image
  14. PD: This script is original and all the functions are maked by me, i will wish you luck if you will search something like this in the community
  15. Im selling a nice RPG turf system, and a good gang system without any bug, totally MSQ with the registry.db incluidable, I can't give you images for now, but if you need a gang system and a turf system for your RPG, please send me a PM and i will give you the details, the price for now is only 23 USD the full, and if you need only gang system or only turf system, it will cost only 12 Dollars one
  16. And what do you recommend to sell? I have nice RPG scripts for sell but i need some interested people who want to buy it
  17. Good day people, today i wanna sell a nice trucker job with full instructions, maked in 1-2 hours, i only ask 10 USD for this, and you will get all the rights to edit or change the script, it have music, nice sounds and much more, here i will leave some screenshot thats will help you to decide, if you want it or not, and if yes, please do not heristate to send me a PM Remember this: All my sold script are decompiled, its mean you can do with it anything you want
  18. He mean that you should type in the chatbox in your local server where you have that resource, the command /debugscript 3, than restart the resource and you can see all the grammatical problems
  19. Exelent day or night, its depend your country, well i want to sell some rpg nice scripts that i have maked for myself for some friends who was opened a rpg server, they closed it without reason, this scripts are not basic and not professional, its in the middle design, you can buy this scripts only sending me a PM in that forum, and asking what do you want, and if you want some scripts that i sell, i will sell it to you for a very nice price, advert: if i dont have a script that you ask, im really sorry, regards
×
×
  • Create New...