-
Posts
1,390 -
Joined
-
Last visited
-
Days Won
1
Everything posted by HunT
-
Anyway ( rispondendo con l iPhone ) ti basta fare un client side. Con getElementByType object in modo da chiamare tutti gli oggetti attuali in .Map e dargli la distanza. Senò come già detto attendi
-
1. Why u want refresh the colors? 2. Where is the server side?
-
Ok dopo te lo faccio. Purtroppo al computer ci sto dopo le 5 o 6 di pomeriggio
-
Ok dopo ti faccio lo script, ora non posso Dimmi solo se ha usato il createObject o gli oggetti sono nel .map
-
Hai un determinato ID o a tutti gli oggetti ti serve la distanza?
-
Where is the event for the function ranks () ? Anyway onPlayerSpawn is better for this. Add the event and report the debug if u have other problem.
-
Replace This : -- String 1138 -- Player/team click local y = topY+s(5) if (serverInfo.server or serverInfo.players) and showServerInfo then y = y+dxGetFontHeight( fontscale(serverInfoFont, scoreboardScale), serverInfoFont ) end if (serverInfo.gamemode or serverInfo.map) and showGamemodeInfo then y = y+dxGetFontHeight( fontscale(serverInfoFont, scoreboardScale), serverInfoFont ) end y = y+s(3) y = y+s(5)+dxGetFontHeight( fontscale(columnFont, scoreboardScale), columnFont ) if cY >= y and cX then local index = firstVisibleIndex local maxPerWindow = getMaxPerWindow() local topX, topY = (sX/2)-(calculateWidth()/2), (sY/2)-(calculateHeight()/2) local width = calculateWidth() while ( index < firstVisibleIndex+maxPerWindow and scoreboardContent[index] ) do local element = scoreboardContent[index]["__SCOREBOARDELEMENT__"] local font = iif( element and isElement( element ) and getElementType( element ) == "team", teamHeaderFont, contentFont ) if cX >= topX+s(5) and cX <= topX+width-s(5) and cY >= y and cY <= y+dxGetFontHeight( fontscale(font, scoreboardScale), font ) then local selected = (not selectedRows[element]) == true local triggered = triggerEvent( "onClientPlayerScoreboardClick", element, selected, cX, cY ) if triggered then selectedRows[element] = not selectedRows[element] end end y = y + dxGetFontHeight( fontscale(font, scoreboardScale), font ) index = index + 1 end end end end Whit This : -- Player/team click local y = topY+s(5) if showGamemodeInfo and showServerInfo then y = y+dxGetFontHeight( fontscale(serverInfoFont, scoreboardScale), serverInfoFont ) end if showGamemodeInfo or showServerInfo then y = y+dxGetFontHeight( fontscale(serverInfoFont, scoreboardScale), serverInfoFont ) end y = y+s(3) y = y+s(5)+dxGetFontHeight( fontscale(columnFont, scoreboardScale), columnFont ) if cY >= y and cX then local index = firstVisibleIndex local maxPerWindow = getMaxPerWindow() local topX, topY = (sX/2)-(calculateWidth()/2), (sY/2)-(calculateHeight()/2) local width = calculateWidth() while ( index < firstVisibleIndex+maxPerWindow and scoreboardContent[index] ) do local element = scoreboardContent[index]["__SCOREBOARDELEMENT__"] if element and isElement( element ) and getElementType( element ) == "team" then if cX >= topX+s(5) and cX <= topX+width-s(5) and cY >= y and cY <= y+dxGetFontHeight( fontscale(teamHeaderFont, scoreboardScale), teamHeaderFont ) then selectedRows[element] = not selectedRows[element] local selected = selectedRows[element] == true triggerEvent( "onClientPlayerScoreboardClick", element, selected, cX, cY ) end y = y + dxGetFontHeight( fontscale(teamHeaderFont, scoreboardScale), teamHeaderFont ) else if cX >= topX+s(5) and cX <= topX+width-s(5) and cY >= y and cY <= y+30 then selectedRows[element] = not selectedRows[element] local selected = selectedRows[element] == true triggerEvent( "onClientPlayerScoreboardClick", element, selected, cX, cY ) end y = y + 30 end index = index + 1 end end end end DON'T Forget . . .delete every time the client file cache. Edit - Delete Cache - Refresh
-
This one delete only the folder but not .zip
-
Grazie ragazzi,mi da fastidio solo il colore nel nome Io non sono superiore a nessuno in questo forum italiano,volevo solo il mod basilare per creare tutorial e giude ed eliminare eventuali messaggi negativi.Non volevo il colore diverso del nome. Cmq Grazie Di Tutto.
-
Tnx Shockz and Dev. V2 Soon with animation.
-
Search other system Race_starter have many bugs ( I remember this in my server 2010) If u use the /roll and risultate is mute for 30 sec. Is false Mute forever The color setting is old style and don't save in database. And many others bugs.
-
I Forget This Why i Make This One Many Times Ago. Anyway This i Search In Hard Disk And Find This : http://www.mediafire.com/?mkol9qun7ad44c9 dxscoreboard_client.lua + image 30x30 for example u can edit this but the max size is 30x30 (30x30 is better )
-
DOWNLOAD HERE Like Stick s0beit? U can use this script in u race maps DD or RP server. RP server /start Hunterix In race server if u make the map DD add this string in meta.xml : <include resource="Hunterix" /> How Work : U Can Stick Other Player But The Stick Time Is 5 Seconds. Stick With mouse1 = mouse left like nitro or fire Enjoy Alternative Download : HERE
-
U code is totally wrong U have the normaly country in scoreboard + join quit? If u have this u can edit the join quit. SetAccountData tostring country ( example it ,it.png) on player join And getAccountData in u panel + setElementData GUI Country = getElementData Patch image "country".png iPhone reply
-
https://wiki.multitheftauto.com/wiki/GuiSetEnabled Easy
-
puoi anche aggiungere un animazione al zombie quando lo colpisci con la katana Tipo : Lo Colpisci Sclera E poi Muore
-
Ok Apri il file zombie_client.lua ed aggiungi alla fine questa funzione : function zombiedamagedKatana ( attacker, weapon, bodypart ) if getElementType ( source ) == "ped" then if (getElementData (source, "zombie") == true) then if ( weapon == 8 ) then helmeted = "no" local zskin = getElementModel ( source ) for k, skin in pairs( helmetzombies ) do if skin == zskin then helmeted = "yes" end end if helmeted == "no" then triggerServerEvent ("superKatana", source, source, attacker, weapon, bodypart ) end end end end end addEventHandler ( "onClientPedDamage", getRootElement(), zombiedamagedKatana ) Apri il file zombie_server.lua ed aggiungi sempre alla fine : addEvent( "superKatana", true ) function katanaOneShot ( ped,attacker, weapon, bodypart) if (getElementData (ped, "zombie") == true) then killPed ( ped, attacker, weapon, bodypart ) setPedHeadless ( ped, true ) end end addEventHandler( "superKatana", getRootElement(), katanaOneShot ) L'ho testato funziona
-
Che gamemode usi o script per gli zombie?
-
ho sbagliato a scrivere katana con tanaka vabe non fa nulla se hai problemi copia di nuovo il codice cera una parentesi in piu
-
--ecco un esempio function superTanaka ( attacker, weapon, bodypart ) if ( weapon == 8 ) then --se la tanaka colpisce setElementHealth ( source, 0) end end addEventHandler ( "onClientPlayerDamage", getLocalPlayer(), superTanaka ) prova client side
-
Certo che si puo fare Con onPlayerDamage
