Jump to content

Castillo

Retired Staff
  • Posts

    21,935
  • Joined

  • Last visited

  • Days Won

    6

Everything posted by Castillo

  1. I think you edited somthing there because there should be a button that says "ok!", if you edited and forgot to add the button its your problem not resource problem. so test again
  2. hi, i got a question, i have save skin and save position but now i need a save weapon script so players wont lose them, and i wanted to know if some can tell me the functions i should use or at least some of them. thanks!
  3. Thanks dude now i got it working
  4. that should allow players to register, did u tryed yet?
  5. hi, im having a litle problem with this code part, im trying to give the client 100% hp if his health is lower than 100 but when i click the button nothing happends no warnings,errors in debugscript, so if someone can check my code will be great client-side function getHealth ( button, state ) if button == "left" and state == "down" then local client = getLocalPlayer() if getElementType(client)=="player" and getElementHealth(client)<= 75 then setElementHealth( client, 100 ) else outputChatBox("You Have More Then 75% Of Health!",255,0,0,true) end end end
  6. ok, cool to learn that u trying to script, btw whats that server about?
  7. hey, isnt time to start to learn how to script??, i never asked for a scripter. i started to learn from wiki and now i have some experience . i recommend to you to start to learn
  8. hi, i fixed that bug and im sending it to you jammie
  9. But he is not in my scripting team because my scripting "team" its only me im the only that scripts so i dont realy care what he looking for i suposed was for a different server.
  10. thanks for all guys now its fully working.
  11. hi, i am castillo, and this guy its not on my server "team" he is my web desingner only that i never asked to get a scripter to anyone im learning myself how to script so please dont call this guy as in my team.
  12. its this a joke or somthing because this script was made by skullzera if im not wrong, also the script its bugged this is skullzera skin selector i think its same one https://community.multitheftauto.com/index.php?p= ... ils&id=144
  13. its this a joke or somthing because this script was made by skullzera if im not wrong, also the script its bugged this is skullzera skin selector i think its same one https://community.multitheftauto.com/index.php?p= ... ils&id=144
  14. the missionvehicle was a error in typing i correct that, now what should i put in the script to make it working? Edit:now dont makes any warning/errors but still wont work
  15. the missionvehicle was a error in typing i correct that, now what should i put in the script to make it working? Edit:now dont makes any warning/errors but still wont work
  16. hi, i have problems with this script for a mission i was wondering if can someone give me a hand on it thanks errors are this on debugscript Warning: server.lua Bad argument @ "addEventHandler" - Line: 4 ser-side function createMissionVehicle ( playerSource, commandName, car, x, y, z ) local missionvehicle = createVehicle ( 411, -1974.7426757813, 266.41040039063, 35.171875 ) warpPedIntoVehicle ( playerSource, missionvehicle ) marker = createMarker ( -1987.1921386719, 950.17266845703, 44.963710784912, "cylinder", 3, 254, 1, 2, 00 ) addEventHandler ( "onClientMarkerHit", marker, carJob ) addEventHandler ("onVehicleEnter", missionvehicle, carJob) end function carJob ( thePlayer, seat ) if ( thePlayer ) and ( seat == 0 ) and ( source == missionvehicle ) then outputChatBox ("Deliver the car to the place.", thePlayer, 255, 0, 0, false) theEndMarker = createMarker ( -1985.2788085938, 949.21502685547, 45.4602394104, "cylinder", 16, 0, 255, 0, 90, thePlayer ) theEndBlip = createBlip ( -1985.2788085938, 949.21502685547, 45.4602394104, 53, 2, 255, 0, 0, 255, 0, 99999.0, thePlayer ) setVehicleLocked ( missionvehicle, true ) addEventHandler ("onMarkerHit", theEndMarker, carJobMarkerHit) end function carJobMarkerHit ( hitPlayer, matchingDimension ) theMarkerID = getElementID (theEndMarker) if (source == theEndMarker) then givePlayerMoney ( hitPlayer, 20 ) destroyElement ( theEndMarker ) destroyElement ( theEndBlip ) outputChatBox ( "Your car delivered successfull", hitPlayer, 255, 0, 0, false ) end end end addEvent( "sendcardata", true ) addEventHandler ( "sendcardata", getRootElement(), createMissionVehicle)
  17. hi, i have problems with this script for a mission i was wondering if can someone give me a hand on it thanks errors are this on debugscript Warning: server.lua Bad argument @ "addEventHandler" - Line: 4 ser-side function createMissionVehicle ( playerSource, commandName, car, x, y, z ) local missionvehicle = createVehicle ( 411, -1974.7426757813, 266.41040039063, 35.171875 ) warpPedIntoVehicle ( playerSource, missionvehicle ) marker = createMarker ( -1987.1921386719, 950.17266845703, 44.963710784912, "cylinder", 3, 254, 1, 2, 00 ) addEventHandler ( "onClientMarkerHit", marker, carJob ) addEventHandler ("onVehicleEnter", missionvehicle, carJob) end function carJob ( thePlayer, seat ) if ( thePlayer ) and ( seat == 0 ) and ( source == missionvehicle ) then outputChatBox ("Deliver the car to the place.", thePlayer, 255, 0, 0, false) theEndMarker = createMarker ( -1985.2788085938, 949.21502685547, 45.4602394104, "cylinder", 16, 0, 255, 0, 90, thePlayer ) theEndBlip = createBlip ( -1985.2788085938, 949.21502685547, 45.4602394104, 53, 2, 255, 0, 0, 255, 0, 99999.0, thePlayer ) setVehicleLocked ( missionvehicle, true ) addEventHandler ("onMarkerHit", theEndMarker, carJobMarkerHit) end function carJobMarkerHit ( hitPlayer, matchingDimension ) theMarkerID = getElementID (theEndMarker) if (source == theEndMarker) then givePlayerMoney ( hitPlayer, 20 ) destroyElement ( theEndMarker ) destroyElement ( theEndBlip ) outputChatBox ( "Your car delivered successfull", hitPlayer, 255, 0, 0, false ) end end end addEvent( "sendcardata", true ) addEventHandler ( "sendcardata", getRootElement(), createMissionVehicle)
  18. u want to know where u must put the resources? thats what i understand, if its that u want here u must put maps/scripts etc MTA San Andreas\server\mods\deathmatch\resources\ then u start it with the admin panel.
  19. i must correct zorrigas, the garage command its not garagesf its "sfgarage"
  20. i have made the door with password
  21. oh cool that will be lot of work of course
  22. that logingui works for register too
  23. ow i never heard that problem before
  24. try my login gui here is the link https://community.multitheftauto.com/index.php?p= ... ils&id=537
×
×
  • Create New...