-
Posts
1,646 -
Joined
-
Last visited
Everything posted by CapY
-
BinSlayer why you just dont upload it somewhere so others can download it .
-
I'm on wiki everyday and worst problem i have is with tables and math , dammit i will just create a GUI .
-
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)
-
Did you read what i said , i said 3 random spawn places.
-
Yeah subtitles was bad only .
-
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)
-
Holsten dont post here without the code.
-
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 )
-
Post script and then we can help you .
-
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)
-
Wow awesome ! 21 minute of nice video , awesome edit , story too .
-
Wtf , did you tested this , because i dont know how to explain you what happens .
-
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)
-
Anyway i support you AHSS.
-
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.
-
Okay that's good too , now can you show dx text on some coords ? Default spawn for example.
-
I rather will use elseif than math .
-
https://forum.multitheftauto.com/viewfor ... cc349e30ff
-
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 ?
-
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
-
lool i triggered Client to a client