BlueYoshi97 Posted December 15, 2010 Posted December 15, 2010 World filters are for motherfuckers on motherfucking servers.I don't know, but I do find it a good idea to have world filters. Ban the whole Earth. So Aliens can play in private for once. Quote
CRYOSPHERE Posted December 18, 2010 Posted December 18, 2010 I dont agree censoring words like motherfucker or so because thats what GTA lives from, lol its an adults game.Anyway, it would be useful for some words, like the N one or some other racist shit.GTA:SA also lives from the word "Nigga".Censoring things won't do shit. Quote
FOTL.Emanuel Posted December 18, 2010 Posted December 18, 2010 Maybe, just said that because one of the admins doesnt like that word so...For it doesnt make any difference since i see this as a game only. Quote
Cookie Posted December 18, 2010 Posted December 18, 2010 And the words ''nigger or nigga'' is just a normal, requently used word in the Netherlands, even for white people. Quote
BlueYoshi97 Posted December 18, 2010 Posted December 18, 2010 'Nigga' is a word black people say to each other. It's a black community thing.There is nothing racist about it, it's just that white people shouldn't even say it.Also, humans are so extremely stupid for the overreactment. They are saying the word is a bad thing. What do you think as a child when the news warns you not to watch because there is bad language in it? Of course. This makes you think it's a curse-word.There is absolutely no difference in calling someone a "nigger" or "black person". But yeah, when a teacher says 'black person' or 'nigger' to a student, that's bad (although world-breaking news is going way too far).Back ontopic, Green people! Quote
FOTL.Emanuel Posted December 18, 2010 Posted December 18, 2010 That video has one part where everything about the N word is completely explained.Nigger may be offensive but Nigga isnt really offensive, its like slang, kinda of "dude" "hey man", and we see black people using it amongst them. Quote
BinSlayer Posted December 19, 2010 Author Posted December 19, 2010 Yeah that is so right... Keep on debating about the n-word, people.. Yeah, this is the right place to debate on..How about I require all of you to script now ? Since you love this topic apparently When I created this topic, I wanted that if someone asked ingame for a script I could point them to this topic and they could read all the posts and choose what scripts they liked the most..What will that someone see now? :/ Your personal thoughts/opinions about the n-word . Thanks for spamming my topic Quote
FOTL.Emanuel Posted December 19, 2010 Posted December 19, 2010 (edited) Yeah that is so right... Keep on debating about the n-word, people.. Yeah, this is the right place to debate on..How about I require all of you to script now ? Since you love this topic apparently When I created this topic, I wanted that if someone asked ingame for a script I could point them to this topic and they could read all the posts and choose what scripts they liked the most..What will that someone see now? :/ Your personal thoughts/opinions about the n-word . Thanks for spamming my topicOkOkScript that shows the some text about this matter in-game:local rootElement = getRootElement()local screenWidth, screenHeight = guiGetScreenSize()function createText ( ) dxDrawText ( "Nigger - Offensive / Nigga - Slang used amongst black people themselves", 0, 0, screenWidth, screenHeight, tocolor ( 255, 255, 255, 255 ), 1, "pricedown", "left", "center", false, false, false ) setTimer (remove, 15000, 1) --Text showing for 15 secendfunction remove ()removeEventHandler("onClientRender", rootElement, createText)endaddEventHandler("onClientRender", rootElement, createText)Now srsly Bin, you got any more scripts/changes in mind for the server? I liked the Alpha thing.Another things, speaking of scripts, how do i bind text ingame?I can bind logins, nicks but not text lol.Tried /bind f1 text "text" and /bind f1 t "text" doesnt work. Edited December 19, 2010 by FOTL.Emanuel Quote
Cookie Posted December 19, 2010 Posted December 19, 2010 I just invented a new word: ''pookilo''. But only my family can use it, cuz if others do it it's very offensive Now back to MTA scripts Quote
Cookie Posted December 21, 2010 Posted December 21, 2010 (edited) Dubble post Is there a script for a speedboost, but not checkpoint related? Or a teleport script, used in a map before on green server, but can't find that one, neither do I know how it works Edit: I need it for my third map. Edited December 22, 2010 by Cookie Quote
SDK Posted December 21, 2010 Posted December 21, 2010 Is there a script for a speedboost, but not checkpoint related?How do you mean, what should trigger the speedboost then?Third Cookie map \o/ Quote
FOTL.Emanuel Posted December 21, 2010 Posted December 21, 2010 (edited) A "marker", wanted to do that some time ago.One of my maps uses the teleport script done by bin.addEvent('onPlayerReachCheckpoint', true)addEventHandler('onPlayerReachCheckpoint', getRootElement(),function(checkpoint) if checkpoint == 26 then x,y,z = getElementVelocity(getPedOccupiedVehicle(source)) setElementPosition(getPedOccupiedVehicle(source), 383.5244140625, 2507.4135742188, 16.289350509644) setElementRotation(getPedOccupiedVehicle(source), 0, 0 , 90) setElementVelocity(getPedOccupiedVehicle(source), 0,y,0) endend)Change the checkpoint that triggers teleport, coordinates and any other necessary details.To get the exact coordinates you want the system to teleport you i suggest you place a "vehicle" (not spawn) where you want the player to be teleported to. Copy its coordinates to the script and then delete it, thats how i do it at least. Edited December 21, 2010 by FOTL.Emanuel Quote
CsenaHUN Posted December 21, 2010 Posted December 21, 2010 (edited) --Speedboost----By-----KWKSND---- Speedboost pickups --function start() SpeedBoost = { createMarker ( -2143.1450195313, 864.66357421875, 73.357460021973, "corona", 5, 0, 0, 255, 255 ), createMarker ( -2143.2846679688, 919.92486572266, 130.06224060059, "corona", 5, 0, 0, 255, 255 ), createMarker ( -2261.1362304688, 1008.3197021484, 83.069351196289, "corona", 5, 0, 0, 255, 255 ), createMarker ( -2230.0563964844, 1093.1223144531, 79.851562500000, "corona", 5, 0, 0, 255, 255 ), createMarker ( -2674.1020507813, 1369.3588867188, 55.427032470703, "corona", 5, 0, 0, 255, 255 ), createMarker ( -2674.0781250000, 1548.1293945313, 61.515167236328, "corona", 5, 0, 0, 255, 255 ), createMarker ( -2674.0102539063, 1712.5568847656, 67.709930419922, "corona", 5, 0, 0, 255, 255 ), createMarker ( -2673.8496093750, 1931.8781738281, 64.152168273926, "corona", 5, 0, 0, 255, 255 ), } endaddEventHandler ( "onClientResourceStart", getResourceRootElement(getThisResource()), start )-- Add more markers to add more Speedboosts.^^^ Multiplier = 1.75 -- Change this to adjust how much boost you get, you can use decimals.function SpeedBoost (player) if player ~= getLocalPlayer() then return end if getElementType(player) == "player" then if isPedInVehicle ( player ) then local car = getPedOccupiedVehicle(player) if getVehicleController(car) == player then speedx, speedy, speedz = getElementVelocity ( car ) -- get the velocity of the player speedcnx = (speedx*Multiplier) speedcny = (speedy*Multiplier) speedcnz = (speedz*Multiplier) setElementVelocity ( car, speedcnx, speedcny,speedcnz ) fixVehicle(car) -- fixes the vehicle addVehicleUpgrade(car, 1010) -- adds nitro playSoundFrontEnd(46) end end endendaddEventHandler ( "onClientMarkerHit", getResourceRootElement(getThisResource()), SpeedBoost )I use this code on City and Forest Coaster Edited December 21, 2010 by CsenaHUN Quote
Cookie Posted December 21, 2010 Posted December 21, 2010 (edited) --Speedboost----By-----KWKSND---- Speedboost pickups --function start() SpeedBoost = { createMarker ( -2143.1450195313, 864.66357421875, 73.357460021973, "corona", 5, 0, 0, 255, 255 ), createMarker ( -2143.2846679688, 919.92486572266, 130.06224060059, "corona", 5, 0, 0, 255, 255 ), createMarker ( -2261.1362304688, 1008.3197021484, 83.069351196289, "corona", 5, 0, 0, 255, 255 ), createMarker ( -2230.0563964844, 1093.1223144531, 79.851562500000, "corona", 5, 0, 0, 255, 255 ), createMarker ( -2674.1020507813, 1369.3588867188, 55.427032470703, "corona", 5, 0, 0, 255, 255 ), createMarker ( -2674.0781250000, 1548.1293945313, 61.515167236328, "corona", 5, 0, 0, 255, 255 ), createMarker ( -2674.0102539063, 1712.5568847656, 67.709930419922, "corona", 5, 0, 0, 255, 255 ), createMarker ( -2673.8496093750, 1931.8781738281, 64.152168273926, "corona", 5, 0, 0, 255, 255 ), } endaddEventHandler ( "onClientResourceStart", getResourceRootElement(getThisResource()), start )-- Add more markers to add more Speedboosts.^^^ Multiplier = 1.75 -- Change this to adjust how much boost you get, you can use decimals.function SpeedBoost (player) if player ~= getLocalPlayer() then return end if getElementType(player) == "player" then if isPedInVehicle ( player ) then local car = getPedOccupiedVehicle(player) if getVehicleController(car) == player then speedx, speedy, speedz = getElementVelocity ( car ) -- get the velocity of the player speedcnx = (speedx*Multiplier) speedcny = (speedy*Multiplier) speedcnz = (speedz*Multiplier) setElementVelocity ( car, speedcnx, speedcny,speedcnz ) fixVehicle(car) -- fixes the vehicle addVehicleUpgrade(car, 1010) -- adds nitro playSoundFrontEnd(46) end end endendaddEventHandler ( "onClientMarkerHit", getResourceRootElement(getThisResource()), SpeedBoost )I use this code on City and Forest CoasterHow does it work? The teleport seems to hardcore for me, I'm not good at scripting at all .@SDK, like a marker, or some other uncollidable object. Edited December 21, 2010 by Cookie Quote
BinSlayer Posted December 21, 2010 Author Posted December 21, 2010 (edited) Making Csena's script easier.. Use this codeMultiplier = 1.75 -- Change this to adjust how much boost you get, you can use decimals.function SpeedBoost (player) if player ~= getLocalPlayer() then return end if getElementType(player) == "player" then if isPedInVehicle ( player ) then local car = getPedOccupiedVehicle(player) if getVehicleController(car) == player then speedx, speedy, speedz = getElementVelocity ( car ) -- get the velocity of the player speedcnx = (speedx*Multiplier) speedcny = (speedy*Multiplier) speedcnz = (speedz*Multiplier) setElementVelocity ( car, speedcnx, speedcny,speedcnz ) fixVehicle(car) -- fixes the vehicle addVehicleUpgrade(car, 1010) -- adds nitro playSoundFrontEnd(46) end end endendaddEventHandler ( "onClientMarkerHit", getRootElement(), SpeedBoost )Save everything as speed.luaPut speed.lua in map archive (near the meta and .map)Open meta.xml and add this line <script src="speed.lua" type="client" /> --just like music But the reason why I'm saying this script is easier is because you don't have to manually add the markers (like Csena's script), but instead.. You have to open the map in the map editor and add markers (it should be in the list, next to checkpoints and spawnpoints)Notice: When you save the map with the editor it is possible that the meta.xml will fuckup, so double check everything.Riiight, and the "MULTIPLIER" line in the code can be adjusted to your needs.Don't put too high valuesIt's ok to have numbers between 1.2 and 1.8 or sohave fun Edited December 21, 2010 by BinSlayer Quote
SDK Posted December 21, 2010 Posted December 21, 2010 I was thinking you would want a keybind or something :XTo change/add markers to KWKSND's script:function start() SpeedBoost = { createMarker ( -2143.1450195313, 864.66357421875, 73.357460021973, "corona", 5, 0, 0, 255, 255 ), createMarker ( -2143.2846679688, 919.92486572266, 130.06224060059, "corona", 5, 0, 0, 255, 255 ), createMarker ( -2261.1362304688, 1008.3197021484, 83.069351196289, "corona", 5, 0, 0, 255, 255 ), createMarker ( -2230.0563964844, 1093.1223144531, 79.851562500000, "corona", 5, 0, 0, 255, 255 ), createMarker ( -2674.1020507813, 1369.3588867188, 55.427032470703, "corona", 5, 0, 0, 255, 255 ), createMarker ( -2674.0781250000, 1548.1293945313, 61.515167236328, "corona", 5, 0, 0, 255, 255 ), createMarker ( -2674.0102539063, 1712.5568847656, 67.709930419922, "corona", 5, 0, 0, 255, 255 ), createMarker ( -2673.8496093750, 1931.8781738281, 64.152168273926, "corona", 5, 0, 0, 255, 255 ), } endEvery createMarker will add one speedboost=> syntax Quote
BabaJaga Posted January 4, 2011 Posted January 4, 2011 Hello to all the map-makers out there I'll post some scripts I have that can make your map more fun/enjoyable.1) Checkpoint boosting.We all know checkpoints can change your vehicle and advance you through the race, but let's give it another usage for the crazy rollercoaster maps out there! We can have the checkpoints give you a lil' boost (adjustable speed) to each racer that goes through it. Here's the script I made to do this:local multiplier = 1.4 -- Change this to suit your needs (recommended: 1.4). If using higher values don't put many checkpoints or the server will think it is cheating (warping)function boost() local theVehicle = getPedOccupiedVehicle(source) if theVehicle then local speedx, speedy, speedz = getElementVelocity(theVehicle) setElementVelocity(theVehicle, speedx*multiplier, speedy*multiplier, speedz*multiplier) end endaddEvent("onPlayerReachCheckpoint", true) addEventHandler("onPlayerReachCheckpoint", getRootElement(), boost) To use this script in your map, copy-paste everything into a .lua file such as speedboost.lua and put it in the map archive. Then edit your meta.xml to add the following: <script src="speedboost.lua" /> Also, do test the map WITH the script before you send it to us and if the speed doesn't please you, change the multiplier value. Ranges like from 1.1 to 1.8 or so Hey Bin,how to create such checkpoit in map? Quote
KillaMarci Posted January 4, 2011 Posted January 4, 2011 Hey Bin,how to create such checkpoit in map?Just use the script like Bin said in his post and then create normal checkpoints...that's it basically Quote
BabaJaga Posted January 4, 2011 Posted January 4, 2011 not, because it is normal checkpoint, but I want speedboost checkpoint Quote
CsenaHUN Posted January 6, 2011 Posted January 6, 2011 I dont know why dont you like the first speedboost script, but here is an other one:addEvent("onPlayerReachCheckpoint")addEventHandler("onPlayerReachCheckpoint", getRootElement(), function(cp, time) if cp == 1 or cp == 2 or cp == 3 or cp == 4 then local vehicle = getPedOccupiedVehicle(source) local vx, vy, vz = getElementVelocity(vehicle) setElementVelocity(vehicle, vx * 2, vy * 2, vz) playSoundFrontEnd(source, 18) end end)Save as speedboost.lua.Put this line in map meta:<script src="speedboost.lua" type="server" />You can change this two line:Mark all cps where you need speedboostif cp == 1 or cp == 2 or cp == 3 or cp == 4 thenHow much speedboost players gotsetElementVelocity(vehicle, vx * 2, vy * 2, vz)You can also add this two line if you want: fixVehicle(vehicle) -- fixes the vehicle addVehicleUpgrade(vehicle, 1010) -- adds nitro Quote
Cookie Posted January 6, 2011 Posted January 6, 2011 not, because it is normal checkpoint, but I want speedboost checkpoint The script makes normal checkpoints boost CP's. So when u add the script all checkpoints wil boost. You need to re-load your map, otherwise nothing wil happen Quote
FOTL.Emanuel Posted January 6, 2011 Posted January 6, 2011 I dont know why dont you like the first speedboost script, but here is an other one:addEvent("onPlayerReachCheckpoint")addEventHandler("onPlayerReachCheckpoint", getRootElement(), function(cp, time) if cp == 1 or cp == 2 or cp == 3 or cp == 4 then local vehicle = getPedOccupiedVehicle(source) local vx, vy, vz = getElementVelocity(vehicle) setElementVelocity(vehicle, vx * 2, vy * 2, vz) playSoundFrontEnd(source, 18) end end)Save as speedboost.lua.Put this line in map meta:<script src="speedboost.lua" type="server" />You can change this two line:Mark all cps where you need speedboostif cp == 1 or cp == 2 or cp == 3 or cp == 4 thenHow much speedboost players gotsetElementVelocity(vehicle, vx * 2, vy * 2, vz)You can also add this two line if you want: fixVehicle(vehicle) -- fixes the vehicle addVehicleUpgrade(vehicle, 1010) -- adds nitroThis one is better, you can choose which cps boost your cars Quote
BinSlayer Posted January 26, 2011 Author Posted January 26, 2011 Speedboosting at will.You are able to speedboost at will by pressing the "X" button. After you've pressed it, there will be a cooldown period of 8 seconds during which you will not be able to speedboost again.It comes with a nice text that lets you know whether it's cooling down or it's usable.Installation for your map:Go to: http://www.xoti.net/uploads/boost_a749.luaSelect and copy everything, paste it in a boost.lua script. Put the boost.lua script in the map archive. Open meta.xml and right before the </meta> tag, add this line:<script src="boost.lua" type="client" />have fun Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.