Jump to content

CapY

Members
  • Posts

    1,646
  • Joined

  • Last visited

Everything posted by CapY

  1. BinSlayer why you just dont upload it somewhere so others can download it .
  2. I'm on wiki everyday and worst problem i have is with tables and math , dammit i will just create a GUI .
  3. CapY

    Taken vehicle

    When someone enters in a vehicle and starts to drive it , after 5 seconds he gets respawned at the place where he was entered in vehicle . Is it possible to clone vehicle when someone takes it ? function respawnTakenVehicle() setTimer(createVehicle, 5000, 1, source) end addEventHandler("onVehicleEnter", getRootElement(), respawnTakenVehicle)
  4. Did you read what i said , i said 3 random spawn places.
  5. Yeah subtitles was bad only .
  6. Tell us the errors which you got in debugscript 3. v = createVehicle(500, 0, 0, 0) toggleVehicleRespawn(v, true) vx, vy, vz = getElementPosition(v) setVehicleRespawnPosition(v, vx, vy, vz) setVehicleIdleRespawnDelay(v, 5000) bindKey ("yourkey", "down", v) I dont have idea will that work ( not tested)
  7. Holsten dont post here without the code.
  8. So.. this is doesnt works . addEventHandler("onResourceStart", resourceRoot, function() resetMapInfo() for i,player in ipairs(getElementsByType("player")) do spawn(player) end end ) function spawn(player) if not isElement(player) then return end repeat until spawnPlayer ( player, -711+math.random(1,5), 957+math.random(5,9), 12.4, 90, math.random(9,288), 0, 0) fadeCamera(player, true) setCameraTarget(player, player) showChat(player, true) end addEventHandler("onPlayerJoin", root, function() local x = -1656 local y = -425 local z = 15 elseif local x = 1327 local y = 1537 local z = 15 spawnPlayer(source, x, y, z) fadeCamera(source, true) setCameraTarget(source, source) end ) addEventHandler("onPlayerWasted", root, function() local x = -1656 local y = -425 local z = 15 elseif local x = 1327 local y = 1537 local z = 15 spawnPlayer(source, x, y, z) fadeCamera(source, true) setCameraTarget(source, source) end )
  9. Post script and then we can help you .
  10. CapY

    Help in Logo!

    Bump* Okay i've been fixed it , but one more problem , when some player joins on the server , everybody get's black screen . Here: Client: GUIEditor_Label = {} function lol () GUIEditor_Label[1] = guiCreateLabel(0.4063,0.3779,0.1531,0.209,"Welcome to our server ! Server is under construction at the moment , but feel free to play on it , expect more gamemodes from us , more features and much , much more ...",true) guiLabelSetColor(GUIEditor_Label[1],0,255,0) guiLabelSetVerticalAlign(GUIEditor_Label[1],"center") guiLabelSetHorizontalAlign(GUIEditor_Label[1],"center",true) guiSetFont(GUIEditor_Label[1],"clear-normal") fadeCamera(false,10.0) setTimer( fadeCamera, 10000,1,true) setTimer ( guiSetVisible, 10000, 1, GUIEditor_Label[1], false) triggerServerEvent("blurFade",getLocalPlayer(),fade) end addEvent("fadeNew",true) addEventHandler("fadeNew",getRootElement(),lol) Server: function fade() fadeCamera(true,10.0) triggerClientEvent("fadeNew",getRootElement(),lol) end addEventHandler("onPlayerJoin",getRootElement(),fade) addEvent( "blurFade",true ) addEventHandler("blurFade",getLocalPlayer(),fade)
  11. Wow awesome ! 21 minute of nice video , awesome edit , story too .
  12. CapY

    Help in Logo!

    Wtf , did you tested this , because i dont know how to explain you what happens .
  13. CapY

    Help in Logo!

    Jacob that doesnt work too . Screen is still shaking and blipping . Server: function fade() triggerClientEvent(source , "fadeNew", source) end addEventHandler("onPlayerJoin",getRootElement(),fade) addEvent( "blurFade",true ) addEventHandler("blurFade",getRootElement(),fade) Client: GUIEditor_Label = {} function lol () GUIEditor_Label[1] = guiCreateLabel(0.4063,0.3779,0.1531,0.209,"Welcome to our server ! Server is under construction at the moment , but feel free to play on it , expect more gamemodes from us , more features and much , much more ...",true) guiLabelSetColor(GUIEditor_Label[1],0,255,0) guiLabelSetVerticalAlign(GUIEditor_Label[1],"center") guiLabelSetHorizontalAlign(GUIEditor_Label[1],"center",true) guiSetFont(GUIEditor_Label[1],"clear-normal") fadeCamera(false,10.0) setTimer( fadeCamera, 10000,1,true) setTimer ( guiSetVisible, 10000, 1, GUIEditor_Label[1], false) triggerServerEvent("blurFade",getLocalPlayer()) end addEvent("fadeNew",true) addEventHandler("fadeNew",getRootElement(),lol)
  14. CapY

    Help in Logo!

    Doesnt works Jacob . Client: GUIEditor_Label = {} function lol () GUIEditor_Label[1] = guiCreateLabel(0.4063,0.3779,0.1531,0.209,"Welcome to our server ! Server is under construction at the moment , but feel free to play on it , expect more gamemodes from us , more features and much , much more ...",true) guiLabelSetColor(GUIEditor_Label[1],0,255,0) guiLabelSetVerticalAlign(GUIEditor_Label[1],"center") guiLabelSetHorizontalAlign(GUIEditor_Label[1],"center",true) guiSetFont(GUIEditor_Label[1],"clear-normal") fadeCamera(false,10.0) setTimer( fadeCamera, 10000,1,true) setTimer ( guiSetVisible, 10000, 1, GUIEditor_Label[1], false) triggerServerEvent("blurFade",getLocalPlayer()) end addEvent("fadeNew",true) addEventHandler("fadeNew",getRootElement(),lol) Server: function fade() fadeCamera(source,true,10.0) triggerClientEvent(source , "fadeNew", getRootElement(),lol) end addEventHandler("onPlayerJoin",getRootElement(),fade) addEvent( "blurFade",true ) addEventHandler("blurFade",getRootElement(),fade) My fps goes low and black screen dissapears on join and it must dissapear when label dissapears too , and yep my screen starts to bliping and shaking.
  15. CapY

    markers

    Okay that's good too , now can you show dx text on some coords ? Default spawn for example.
  16. CapY

    markers

    Why you didnt put coords in ?
  17. CapY

    markers

    Lol just nothing... text is not there
  18. I rather will use elseif than math .
  19. CapY

    Creating GUI

    https://forum.multitheftauto.com/viewfor ... cc349e30ff
  20. CapY

    markers

    Forget, didnt worked
  21. By the way , is it possible to have spawn at 3 places and everytime when player joins he is spawned on other place. So is it ?
  22. CapY

    Help in Logo!

    Bump * Label doesnt remove after 10 seconds and fadeCamera starts to remove from first second and my FPS goes from 35 to 20 . Client: GUIEditor_Label = {} function lol () GUIEditor_Label[1] = guiCreateLabel(0.4063,0.3779,0.1531,0.209,"Welcome to our server ! Server is under construction at the moment , but feel free to play on it , expect more gamemodes from us , more features and much , much more ...",true) guiLabelSetColor(GUIEditor_Label[1],0,255,0) guiLabelSetVerticalAlign(GUIEditor_Label[1],"center") guiLabelSetHorizontalAlign(GUIEditor_Label[1],"center",true) guiSetFont(GUIEditor_Label[1],"clear-normal") fadeCamera(false,10.0) setTimer( fadeCamera, 10000,1,true) setTimer ( guiSetVisible, 10000, 1, GUIEditor_Label[1], false) triggerServerEvent("blurFade",getRootElement(),fade) end addEvent("fadeNew",true) addEventHandler("fadeNew",getRootElement(),lol) Server: function fade() fadeCamera(source,true,10.0) triggerClientEvent("fadeNew",getRootElement(),lol) end addEventHandler("onPlayerJoin",getRootElement(),fade) addEvent( "blurFade",true ) addEventHandler("blurFade",getRootElement(),fade) EDIT: FIXED
  23. CapY

    Help in Logo!

    lool i triggered Client to a client
×
×
  • Create New...