
keisonp9
Members-
Posts
78 -
Joined
-
Last visited
Everything posted by keisonp9
-
Devo fixare il buy map di questo pannello help pls
keisonp9 replied to keisonp9's topic in Italian / Italiano
main_server.lua 744 access denied execute command handler -
Devo fixare il buy map di questo pannello help pls
keisonp9 replied to keisonp9's topic in Italian / Italiano
ok ora vi posto il debug intanto ho messo il codice in lua -
shock mi fai un video su mr.street prototype alien ? senno dimi che programma usi per registrare i video lol
-
Il pannello non è mio come dal titolo devo fixare il buy map del pannello ecco come è fatto il pannello l'ultima immaggine è il buy map il problema è che non mi fa comprare la mappa ecco lo script per comprare la mappa Buy a next map function buyMap(thePlayer,mapName) local playerLevel = tonumber(loadPlayerData(thePlayer,"level")) local playerCash = tonumber(loadPlayerData(thePlayer,"cash")) if mapIsAlreadySet == false then if not (mapName == "") then if playerLevel >= mapLevel then if playerCash >= mapCost then --triggerEvent("onExternalNextmapRequest",thePlayer,thePlayer,mapName) executeCommandHandler("asdbsaggf123122316dfhfd", thePlayer, thePlayer, mapName) else outputChatBox("#FF6600* #FFFFFFYou don't have enough money to set a map!",thePlayer,255,255,255,true) end else outputChatBox("#FF6600* #FFFFFFYou need to be level #ABCDEF"..mapLevel.." #FFFFFFor higher to set maps!",thePlayer,255,255,255,true) end else outputChatBox("#FF6600* #FFFFFFPlease select a map from the list first!",thePlayer,255,255,255,true) end else outputChatBox("#FF6600* #FFFFFFA map is already set at the moment! Please try again later.",thePlayer,255,255,255,true) end end function resetMapSetStatus() mapIsAlreadySet = false end addEventHandler("onMapStarting",getRootElement(),resetMapSetStatus) addEvent("onScriptSetNextMap",true) addEventHandler("onScriptSetNextMap",getRootElement(), function (mapName) thePlayer = source local playerCash = tonumber(loadPlayerData(thePlayer,"cash")) savePlayerData(thePlayer,"cash",playerCash-mapCost) outputChatBox("#FFFFFFNextmap: "..getPlayerName(thePlayer).."#FFFFFF has bought a next map!",getRootElement(),255,255,255,true) outputChatBox("#FFFFFFNextmap: #FF8800"..mapName,getRootElement(),255,255,255,true) mapIsAlreadySet = true scoreboardRefresh(thePlayer) achievement31(thePlayer) end) addEvent("onRaceSetNextMap",true) addEventHandler("onRaceSetNextMap",getRootElement(), function () mapIsAlreadySet = true end)
-
Cerco un sito con modelli txd e dff per il pickup del nitro
-
hunterix non ci capiamo un cavolo parli in un linguaggio troppo da scripter anche perche sei bravissimo non è che ce lo puoi fare tu e postarlo ? se non ti disturbo ovviamente
-
se lo trovo te lo passo
-
Cerco uno script che mi faccio ottenere questo risultato ovviamente poi modifichero i colori
-
hi all i want a new model of the nitro look this video i want his nitro can anywone post the download ? https://www.youtube.com/watch?v=F-PFVKc27ac thank you i'm not good in english sorry
-
ottimo mapper ! quando puoi inviami qualche tua mappa grazie per lo script
-
Cerco uno script che mantenga il colore dell'auto esempio io voglio avere un auto blu e il suo colore non deve cambiare deve restare sempre un auto blu in ogni mappa si puo fare ?
-
risolto mancano gli end
-
function mutePlayer( player ) setPlayerMuted( player, true ); gPlayerMuteTimer[ player ] = setTimer( unmutePlayer, gSettings.muteTime * 1000, 1, player ); outputChatBox( "You have been muted for" .. gSettings.muteTime .." seconds.", player, 255, 0, 0 ) function unmutePlayer( player ) setPlayerMuted( player, false ); outputChatBox( "You can talk again.. But REMEMBER don't spam", player, 255, 0, 0 );
-
noi lo creiamo ma come vedi il pannello è tutto buggato
-
mi hanno dato da poco Sonix INTRAX 1 ok vi do il link del video cosi vi fate un'idea di quello che vi dirò https://www.youtube.com/watch?v=F-PFVKc27ac come vedete nel video al 30 secondo quando sale sulla rampa l'auto viene spinta e portata alla seconda strada il mio problema è questo l'auto non viene spinta credo ci sia qualche problema negli script vi faccio vedere tutti i script gli script sono music.lua Puma.Markers.lua vgncarshade1.txd music.lua --[[ Map Song Player V2 by tma 21/07/11: Initial version 06/08/11: Changes + fixes to stop toggle issue with mutiple old binds for "/music" command handlers. This script: + Will save the user selected radio channel and restore it on map end, or when toggling the music on/off. + Allow a global user pref to control music volume levels wherever this script is used. --]] ----------------------------------------------- -- CHANGE THESE VALUES AS NEEDED -- ----------------------------------------------- MUSIC = {} MUSIC.track = "music.mp3" -- Track to play that's included in your meta.xml (MP3, OGG etc.) MUSIC.initVolume = 100 -- Initial volume 0 -> 100 (off -> full volume) MUSIC.keyToggle = "m" -- Key to use to toggle the music MUSIC.title = nil -- Track title shown if not empty -- Message to show on script start MUSIC.message = "Press '" .. MUSIC.keyToggle .. "' to toggle the music on / off. Use F7 / Prefs for the volume level." ----------------------------------------------- -- THERE IS NO NEED TO CHANGE ANYTHING BELOW -- ----------------------------------------------- gRoot = getRootElement() gResRoot = getResourceRootElement(getThisResource()) gMe = getLocalPlayer() gTag = "tu_music_volume" function MUSIC.init() if not MUSIC.initialised then outputConsole("Map Song Player V2 by tma") MUSIC.radioChannel = getRadioChannel() MUSIC.volume = getElementData(gMe,gTag) or MUSIC.initVolume bindKey(MUSIC.keyToggle,"up",MUSIC.toggle) MUSIC.initialised = true end MUSIC.play() end function MUSIC.play() if (not MUSIC.element) and (MUSIC.volume > 0) then MUSIC.ignoreRadioSwitch = true setRadioChannel(0) MUSIC.element = playSound(MUSIC.track,true) if not MUSIC.element then MUSIC.outputChatBox("Unable to start the music - please check the filenames!") end end if MUSIC.element then setSoundVolume(MUSIC.element,MUSIC.volume / 100) end end function MUSIC.stop() if MUSIC.element then stopSound(MUSIC.element) MUSIC.element = nil end setRadioChannel(MUSIC.radioChannel) end function MUSIC.update(play) if play then MUSIC.play() else MUSIC.stop() end end function MUSIC.toggle() local play = not MUSIC.element if play and MUSIC.volume == 0 then MUSIC.volume = MUSIC.initVolume end MUSIC.outputChatBox("Toggling music " .. (play and "ON" or "OFF") .. ".") MUSIC.update(play) end function MUSIC.outputChatBox(text) if text and text ~= "" then outputChatBox(text,255,255,255,true) end end addEventHandler("onClientResourceStart",gResRoot, function() MUSIC.outputChatBox(MUSIC.message) if MUSIC.title then outputChatBox("Track: " .. MUSIC.title,255,255,255,true) end MUSIC.init() end ) addEventHandler("onClientResourceStop",gResRoot, function() MUSIC.stop() unbindKey(MUSIC.keyToggle,"up",MUSIC.toggle) end ) addEventHandler("onClientPlayerRadioSwitch",gMe, function(newChannel) local ignore = MUSIC.ignoreRadioSwitch MUSIC.ignoreRadioSwitch = false if MUSIC.element then cancelEvent() return end if not ignore then MUSIC.radioChannel = newChannel end end ) addEventHandler("onClientPlayerVehicleEnter",gMe, function() MUSIC.init() end ) addEventHandler("onClientElementDataChange",gMe, function(dataName) if dataName == gTag then MUSIC.volume = getElementData(gMe,gTag) or MUSIC.initVolume MUSIC.update(MUSIC.volume > 0) end end ) function Client () tekstura = engineLoadTXD("vgehshade.txd") engineImportTXD(tekstura, 8838 ) end addEventHandler( "onClientResourceStart", resourceRoot, Client ) Puma-Markers.lua è un file con un sacco di quadratini neri quindi non so se postarvelo ? lo volete ? ve lo posto su mediafire cosi ci date un occhiata ? vgncarshade.txd anche quello con un sacco di quadratini se volete ve lo posto perfavore aiutatemi se volete vi invio tutta la mappa per darci un occhiata non posto il download perche non sono autorizzato e mi fido solo di hunterix e di shock per il momento
-
grazie hunterix ma quella stringa che mi hai detto dove la devo mettere ? --////////////////////////////[[The following is On Join]]\\\\\\\\\\\\\\\\\\\\\\\\\\\-- function changeBlurLevel() setPlayerBlurLevel ( source, 0 ) end addEventHandler ( "onPlayerJoin", getRootElement(), changeBlurLevel ) --//////////////[[The following is On Resource Start (This Resource)]]\\\\\\\\\\\\\\\-- function scriptStart() setPlayerBlurLevel ( getRootElement(), 0) end addEventHandler ("onResourceStart",getResourceRootElement(getThisResource()),scriptStart) --//////////////[[The following is On Resource Start (EVERY resource)]]\\\\\\\\\\\\\\-- --//////////////[[The following is the 1.0 Upate.]]\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\-- function scriptRestart() setTimer ( scriptStart, 4000, 1 ) end addEventHandler("onResourceStart",getRootElement(),scriptRestart) ---------------------------------------------------------------------------------------
-
Raga non è che mi date un consiglio per togliere le nuvole ? esempio quando nel mio server faccio la mappa never be alone 2 ci stanno un sacco di nuvole che mi fanno laggare e quindi crepo mi date un consiglio per toglierle ? grazie
-
provato come hai detto ora il problema è un altro error: exports: call to non-running server resource (scoreboard) [string "?"]
-
ehi shock che vuoi per le mappe di spartan ? ottimo mapper e anche tu secondo me la migliore è lost destination
-
ok ricontrollo per bene lo script comunque quando dico che è bello non scherzo anzi non è bello è FANTASTICO
-
diavolo ho fatto come hai detto tu hunterix ma ora non mi apre l'user panel dovrò rifarlo da capo .-.
-
grazie hunterix anzi grazie mille grazie anche a te shock hunterix ho visto i tuoi lavori nei precedenti post l'admin panel è bellissimo
-
http://www.mediafire.com/?at7cia146c7zcbd quello sopra è il link del file server.lua
-
mi dici dove posso trovare dei modelli ?
-
no lo shop è mio e di un mio amico ci abbiamo lavorato insieme per tanto tempo ho chiesto come cambiare l'icona perche ne vorrei creare una nuova che rispecchi il server desiderato