Jump to content

scripterr

Members
  • Posts

    22
  • Joined

  • Last visited

Everything posted by scripterr

  1. Nice Parts. And Good Deco. But very Short But Good
  2. Hello I recorded my map Size: 1.73 GB How can i compress it
  3. My PC Ram: 2000 OS: Windows 7 Video Card: Nvidia Geforce 8400GS Turbo. Someone please tell me any good recording software
  4. Hello what the best promgram for Recording Race DM maps.. What program has noo lag,, and fillming with little lag ?
  5. And SolidSnake14 It horns system i buyed it from my firend.
  6. I dont care your opinion. And stop posting for better rank.
  7. Steal ? : DD I buyed it
  8. Not me. But doest care. Just help please
  9. Hello when player press 'H' It horns one time and until next map start player cant horn Help me to make the players can horn always. -- Horns function getPurchasedHorns(thePlayer) local airhorn = tonumber(loadPlayerData(thePlayer,"horn1")) local clown = tonumber(loadPlayerData(thePlayer,"horn2")) local train = tonumber(loadPlayerData(thePlayer,"horn3")) local ship = tonumber(loadPlayerData(thePlayer,"horn4")) local submarine = tonumber(loadPlayerData(thePlayer,"horn5")) local military = tonumber(loadPlayerData(thePlayer,"horn6")) local whoopie = tonumber(loadPlayerData(thePlayer,"horn7")) callClientFunction(thePlayer,"updateHorns",thePlayer,airhorn,clown,train,ship,submarine,military,whoopie) end function purchaseHorn(thePlayer,horn,hornName) local playerCash = tonumber(loadPlayerData(thePlayer,"cash")) local playerLevel = tonumber(loadPlayerData(thePlayer,"level")) local checkOwnership = tonumber(loadPlayerData(thePlayer,"horn"..horn)) if checkOwnership == 0 then if playerLevel >= hornLevel then if playerCash >= hornPrice[horn] then savePlayerData(thePlayer,"cash",playerCash-hornPrice[horn]) savePlayerData(thePlayer,tostring("horn"..horn),1) getPurchasedHorns(thePlayer) scoreboardRefresh(thePlayer) achievement39(thePlayer) outputChatBox("#0095FF* #FFFFFFYou have purchased the #ABCDEF"..hornName.."#FFFFFF horn for #ABCDEF$"..hornPrice[horn].."#FFFFFF!",thePlayer,255,255,255,true) else outputChatBox("#0095FF* #FFFFFFERROR! You don't have enough money!",thePlayer,255,255,255,true) end else outputChatBox("#0095FF* #FFFFFFERROR! You need to be level #ABCDEF"..hornLevel.."#FFFFFF or higher to purchase new horns!",thePlayer,255,255,255,true) end else outputChatBox("#0095FF* #FFFFFFERROR! You already own this horn!",thePlayer,255,255,255,true) end end function checkForPurchasedHorn(thePlayer,horn) local hornStatus = tonumber(loadPlayerData(thePlayer,"horn"..horn)) if hornStatus == 1 then callClientFunction(thePlayer,"setHorn",horn) else outputChatBox("#0095FF* #FFFFFFERROR! You do not own this horn!",thePlayer,255,255,255,true) end end function getLastSetHorn(thePlayer) local horn = tonumber(loadPlayerData(thePlayer,"lastSetHorn")) callClientFunction(thePlayer,"setLastUsedHorn",horn) end function setLastSetHorn(thePlayer,horn) savePlayerData(thePlayer,"lastSetHorn",horn) end function toggleHornControl() for _,player in ipairs(getElementsByType("player")) do if loadPlayerData(player,"lastSetHorn") == 0 then setTimer(toggleControl,2,1,player,"horn",ture) else setTimer(toggleControl,2,1,player,"horn",true) end end end addEvent("onMapStarting",true) addEventHandler("onMapStarting",getRootElement(),toggleHornControl) function toggleControlOnReady() if loadPlayerData(source,"lastSetHorn") == 0 then toggleControl(source,"horn",true) else toggleControl(source,"horn",true) end end addEventHandler("onNotifyPlayerReady",getRootElement(),toggleControlOnReady) function playHornForAllClients(horningPlayer,hornSoundPath,cSetHornSound) -- This function passes on the horn to all players. triggerClientEvent(getRootElement(),"onRecieveHorn",horningPlayer,horningPlayer,hornSoundPath,cSetHornSound) end
  10. Realy ? lol. show from where i downloaded. Noob... yes its stolen from tg noob ok toptimes - https://community.multitheftauto.com/index.php?p= ... ls&id=1333 (u change only image ["pro"]lol) Race Mode Effects - by F3RraRi Pick Ups - open client and change font, im not stoled anything... How do i stole it ?? How possiblle to stole ?
  11. No No Not this.. On resource start this script changes nitro color automatic. No need any command. setTimer(updateNitroColor,00,A0,00,160,0) updateNitroColor,00,A0,00,160,0 - There is colors... i want to make GREEN
  12. Hello I want to make nitro to GREEN Code --------------------------------------------------------------------------------- -- -- Nitro shader -- -- --------------------------------------------------------------------------------- addEventHandler("onClientResourceStart",resourceRoot, function() nitroShader = dxCreateShader("nitro.fx") setTimer(updateNitroColor,00,A0,00,160,0) end) -- This function will set the new color of the nitro function updateNitroColor(r,g,b) if nitroShader then if r and g and b then engineApplyShaderToWorldTexture (nitroShader,"smoke") dxSetShaderValue (nitroShader, "gNitroColor", r/255, g/0, b/0 ) end end end -- This function will reset the nitro back to the original function resetNitroColor() if nitroShader then engineRemoveShaderFromWorldTexture(nitroShader,"smoke") end end -- Example command use addCommandHandler("nitro", function(command,r,g,b) if r and g and b then local r,g,b = tonumber(r),tonumber(g),tonumber(b) if r <= 255 and g <= 255 and b <= 255 then updateNitroColor(r,g,b) outputChatBox("Nitro color updated!",255,255,255,true) else outputChatBox("Colors must be between 0 and 255",255,255,255,true) end else resetNitroColor() outputChatBox("Nitro color reset to original!",255,255,255,true) end end)
  13. No Stolen. All made be me. Only Camera Countdown not mine.
  14. Hello. If someone interested PM me My maps picture link : http://www.mediafire.com/?xh877pad4benfun
  15. Anyone wants to change this scripts to UserPanel For my server ? PM me if yes : )
  16. Watch all video!!!!!!!! Welcome. As I finished my best scripts I will share it to the MTA community. Note * Camera countdown is not my script. Note* You can change Image in TopTimes If you want this scripts PM me we can trade to other scripts Dont Trust me ? Take one free: http://www.mediafire.com/?r9qkdkr73dhiwr0 I'd be very grateful if someone would like to change this scripts to user panel for my server. I'm very lazy to make myself.
×
×
  • Create New...