
pocko
Members-
Posts
101 -
Joined
-
Last visited
Everything posted by pocko
-
tnx solid fast reply as always
-
Hello guys ! I m looking for one script where when u take the chekpoint (racemode) spawn a random vehicle, Can someone give a link to see her?
-
Okey one friend gave to me One resource (Race_bouncer) But if i want to start it i must have that resource In meta file writing that <include resource="playericons" />
-
guys i m looking for that script its included with another one script can someone send to me that script?
-
Hello All I presenting the new server Type Mod DM So the server Don t have laG! Where is the most important thing for me!" Download the Textures and cars is really fast! New Maps And All Maps where plaing in other servers New Scripts ! So come to plaing together i hope to like it :] VISIT FOR MORE FUN THINGS :]
-
guys i have problem with one script! i don t know its worked before but i tryed to edit her so see what is writing! Error File carpack.lua in resource models-CRC mismatch! what i do here the script i tryed to put Sand king! function replaceModel() txd = engineLoadTXD("car/sandking.txd", 495 ) engineImportTXD(txd, 495) dff = engineLoadDFF("car/sandking.dff", 495 ) engineReplaceModel(dff, 495) end addEventHandler ( "onClientResourceStart", getResourceRootElement(getThisResource()), replaceModel) addCommandHandler ( "reloadcar", replaceModel ) and Meta <file src="car/sandking.txd" type="client"/> <file src="car/sandking.dff" type="client"/>
-
so someone must have that maps will spend with others or no ?
-
Guys i have problem The link where skotinka placed not work can someone give me working Link (Skotinka maps) And Tulio DM maps ?
-
anythink Work so i tell tnx to all !
-
Ty Solidsnake14 you are the god of scripters
-
I have problem how to correct them. local Timer = {} g_ResRoot = getResourceRootElement(getThisResource()) g_Root = getRootElement() g_PlayerData = {} g_VehicleData = {} function getting (PlayerSource, rh,gh,bh,r1,g1,b1,r2,g2,b2,r3,g3,b3,r4,g4,b4,rand ) --outputChatBox("getting started.") if Timer[PlayerSource] then killTimer( Timer[PlayerSource] ) end --rand = tonumber(rand) if rand then Timer[PlayerSource] = setTimer( function ( playerVehicle ) local vehicle = getPedOccupiedVehicle( PlayerSource ) if vehicle then --setVehicleOverrideLights ( vehicle, 2 ) setVehicleHeadLightColor ( vehicle, rh,gh,bh) setVehicleColor ( vehicle,r1,g1,b1,r2,g2,b2,r3,g3,b3,r4,g4,b4 ) end end , 1000, 0, vehicle ) end end addEvent( "getting", true ) addEventHandler( "getting", getRootElement(), getting ) function stopwhileupdate(PlayerSource) if Timer[PlayerSource] then killTimer( Timer[PlayerSource] ) Timer[PlayerSource] = nil end end addEvent( "stopwhileupdate", true ) addEventHandler( "stopwhileupdate", getRootElement(), stopwhileupdate ) function removeStateOnQuit() killTimer( Timer[source] ) Timer[source] = nil end addEventHandler( "onPlayerQuit", getRootElement(), removeStateOnQuit ) g_RPCFunctions = { addVehicleUpgrade = { option = 'upgrades', descr = 'Adding/removing upgrades' }, removePedFromVehicle = true, removeVehicleUpgrade = { option = 'upgrades', descr = 'Adding/removing upgrades' }, setElementAlpha = { option = 'alpha', descr = 'Changing your alpha' }, setElementPosition = true, setElementInterior = true, --setVehicleColor = true, setVehicleHeadLightColor = true, setVehicleOverrideLights = { option = 'lights', descr = 'Forcing lights' }, setVehiclePaintjob = { option = 'paintjob', descr = 'Applying paintjobs' }, setVehicleRotation = true } g_OptionDefaults = { alpha = true, time = { set = true, freeze = true } } function getOption(optionName) local option = get(optionName:gsub('%.', '/')) if option then if option == 'true' then option = true elseif option == 'false' then option = false end return option end option = g_OptionDefaults for i,part in ipairs(optionName:split('.')) do option = option[part] end return option end addEvent('onServerCall', true) addEventHandler('onServerCall', g_Root, function(fnName, ...) local fnInfo = g_RPCFunctions[fnName] if fnInfo and ((type(fnInfo) == 'boolean' and fnInfo) or (type(fnInfo) == 'table' and getOption(fnInfo.option))) then local fn = _G for i,pathpart in ipairs(fnName:split('.')) do fn = fn[pathpart] end fn(...) elseif type(fnInfo) == 'table' then errMsg(fnInfo.descr .. ' is not allowed', source) end end ) function clientCall(player, fnName, ...) triggerClientEvent(player, 'onClientCall', g_ResRoot, fnName, ...) end function startserver() triggerClientEvent( "start", getRootElement() ) end addEventHandler( "onResourceStart", getResourceRootElement( getThisResource() ), startserver)
-
Okey I open that one topic to ask how to make one color of nitro to be default. I found in comunity one nitro shader but if you want to change the color you must type /nitro and to write the colors how can be only when i start the script the color must be set.With no /nitro comands
-
chek out when i added the new Admin resource what happened
-
yes help me alot but now another problem have how to RAce Rank its not write like must be now writing only Race rA where can i edit that
-
Hello so here is the problem i tryed something and read topics to see how this can work but still having problems on scoreboard can t show the flags exports.scoreboard:addScoreboardColumn('Country') function showcountry() local flag = exports.admin:getPlayerCountry ( source ) if flag then setElementData(source,"Country",":admin/client/images/flags/"..flag..".png") else flag = "N/A" end end addEventHandler("onPlayerJoin",getRootElement(),showcountry) and still empty Here one photo
-
Hello i v asking for somethink So here i found that part of script addEvent("onPlayerFinish",true) addEventHandler("onPlayerFinish",getRootElement(), function (rank,finishtime) local account = getPlayerAccount(source) if isGuestAccount(account) then outputChatBox("You must be logged in to get the points and cash" , source, 255, 0, 0, true) else if rank == 1 then givePlayerMoney(source,1000) setAccountData( account, "Points", +3 ) end if rank == 2 then givePlayerMoney(source,500) setAccountData( account, "Points", +2 )w end and that is for race i asking somethink like that but for DD/DM server how must be ?Becouse there don t having Chekpoints or..... So please help me if someone kno
-
So here the problem. Before one year ago I made a server and ther had a lot of maps I stoped and after that year i started again but anythink was change so here my problem Before on the old console servers (platforms) Anythink was OK HERE what writing when i paste the maps