Jump to content

HunT

Retired Staff
  • Posts

    1,390
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by HunT

  1. HunT

    Server redirect

    function redirect () redirectPlayer ( source,"000.00.000.00",(00000) end addEventHandler ( "onPlayerJoin", getRootElement(), redirect ) 00000 = Port 000.00.000.00 = IP Add in ACL admin group & Enjoy i Use this in my old servers (serverFFShit) for redirect the players in new server.
  2. This : function setAdminTeam(player) local theAccount=getPlayerAccount(player) if theAccount then local accountName = getAccountName(theAccount) if isObjectInACLGroup ( "user." .. accountName, aclGetGroup ( "Admin" ) ) then local team = getTeamFromName ( "Admins" ) setPlayerTeam( player, team ) end end end function teamAdmin() setTimer(setAdminTeam,500,1,source) end addEventHandler("onPlayerLogin",getRootElement(),teamAdmin) ServerSide and add the resource in ACL group admin
  3. Made The Indipenden Function and call with setTimer example : function onAdminJoin(player) function setAdminTeam() setTimer(onAdminJoin,500,1,source) end addEventHandler("onPlayerLogin",getRootElement(),setAdminTeam) For More info Look this my script : function setAdminColor(player) local theAccount=getPlayerAccount(player) if theAccount then local accountName = getAccountName(theAccount) if isObjectInACLGroup ( "user." .. accountName, aclGetGroup ( "Admin" ) ) then local adminInVehicle = getPedOccupiedVehicle ( player ) setVehicleColor ( adminInVehicle, 3, 0, 0, 0 ) -- Change Color Here end end end function spawnAdmin() setTimer(setAdminColor,500,1,source) end addEventHandler("onPlayerSpawn",getRootElement(),spawnAdmin) Change the onPlayerSpawn with onPlayerLogin
  4. But the ghost work only with checkpoints. . .
  5. HunT

    Info About Shaders

    Yep i want This Tnx for info.
  6. Hi Guys i have one question about shaders wiki. i want made the panel for active or no the shaders effect. My questio is : with onClientGUIClick only the client show the effects ? or all players ? Sorry for this stupid question ( )
  7. 1.Rename the directory or .zip dxscoreboard to scoreboard 2.Add this in race_server or made new resource. Type server. ServerSide : exports.scoreboard:addScoreboardColumn('Money') function addMoneyScore () local money = getPlayerMoney ( source ) setElementData ( source, "Money", "$" .. money ) end end addEventHandler ( "onPlayerSpawn", getRootElement(), addMoneyScore ) Start this script and wait next map.
  8. ServerSide : exports.scoreboard:addScoreboardColumn('Money') function addMoneyScore () local money = getPlayerMoney ( source ) setElementData ( source, "Money", "$" .. money ) end end addEventHandler ( "onPlayerSpawn", getRootElement(), addMoneyScore ) Edit . . . Test Now
  9. Finally Awesome resource. One question about delete maps.This function delete the directory or file .zip or directory and file .zip ???
  10. Tnx Castillo I use the "mouseEnter" for show the labels info command and permission. Tnx Again.
  11. PRO|Admin Panel v1 Awesome Race Admin Panel By PRO|Hunterix aka ST3REO Open With F2 Access Control : Admin SuperModerator Moderator 16 Functions. Push : Access - Admin SuperModerator Moderator Blow : Access - Admin SuperModerator Moderator Boom : Access - Admin SuperModerator Moderator Smash : Access - Admin SuperModerator Smash 2 : Access - Admin SuperModerator Ramp : Access - Admin SuperModerator MiniGun : Access - Admin SuperModerator Smooke : Access - Admin SuperModerator Boost : Access - Admin SuperModerator Moderator Fix All : Access - Admin SuperModerator Nos All : Access - Admin SuperModerator Blow All : Access - Admin SuperModerator Smash All : Access - Admin SuperModerator CountD : Access - Admin SuperModerator Moderator Rot Obj : Access - Admin Des Obj : Access - Admin The CountDown show the images 5 4 3 2 1 gogo Special Tnx To Solidsnake14 & JR10 Panel by PRO|Race Community. Comment . . . edit F2. . . edit Permission for custom ACL . . . . post here Download here https://community.multitheftauto.com/ind ... ls&id=2877
  12. No Work Bad Argument in debugscript 3 "player" Why ? Help please.
  13. I finish my own admin panel race but Bugged (facepalm) i select the player for push and push me -.- ( ) ClientSide GridList : playersList = guiCreateGridList(28,85,146,149,false,bigWindow) local column = guiGridListAddColumn(playersList, "Drivers", 0.85) if (column) then for id, playeritem in ipairs(getElementsByType("player")) do local row = guiGridListAddRow ( playersList ) guiGridListSetItemText(playersList, row, column, getPlayerName(playeritem), false, false) guiGridListSetItemColor ( playersList, row, column, 255, 150, 0 ) guiGridListSetScrollBars ( playersList, true, true ) end end function guiGridListRemoveRowByName ( playersList , column , name ) for index = 1 , guiGridListGetRowCount ( playersList ) do if guiGridListGetItemText ( playersList , index , column ) == name then guiGridListRemoveRow ( playersList , index ) break end end end ClientSide onClientGUIClick : function onGuiClick (button, state, absoluteX, absoluteY) if (source == botton1) then client = getLocalPlayer() selectedPlayer = guiGridListGetItemText ( playersList, guiGridListGetSelectedItem (playersList), 1 ) if ( guiGridListGetSelectedItem ( playersList ) ~= -1 ) then triggerServerEvent ("pushim",getLocalPlayer(),selectedPlayer, client) else outputChatBox("No user selected :|'", nil , 255, 0, 0, false) end end addEventHandler ("onClientGUIClick", getRootElement(), onGuiClick) ServerSide triggerServerEvent : addEvent("pushim", true) addEventHandler("pushim", rootElement, function() local vehicle = getPedOccupiedVehicle(source) x,y,z = getElementVelocity(vehicle) setElementVelocity ( vehicle, x, y, z+0.30) outputChatBox("PRO|Admin Panel : Push " ..getPlayerName(source), getRootElement(), 255, 200, 0, true) end ) And the outputChatBox show ever my name where wrong ???? help me please
  14. Tnx . . . Default and clans work. Cadu12 the function for blips color is very good. . .but work only for one map on next map all blips white.
  15. Ok Tnx work . .have only the miniBugs but is ok now. Tnx The Rock
  16. setTimer ( guiGridListClear, 5000, 1, drivertList ) Ok edit and add this. Test and reply Tnx.
  17. i Look in "C-panel By Castillo" For Example gridList And in my local host work. But in server show one player (show only the name from last player enter in server ) WHY?? clientSide Part : driversList = guiCreateGridList(28,85,146,149,false,bigWindow) local column = guiGridListAddColumn(driversList, "Drivers", 0.85) local row = guiGridListAddRow ( driversList ) if (column) then for id, playeritem in ipairs(getElementsByType("player")) do guiGridListSetItemText(driversList, row, column, getPlayerName(playeritem), false, false) end end guiGridListSetItemColor ( driversList, row, column, 255, 150, 0 ) guiGridListSetScrollBars ( driversList, true, true ) And in "onClientGUIClick" : if (source == botton1) then selectedPlayer = guiGridListGetItemText ( driversList, guiGridListGetSelectedItem (driversList), 1 ) if ( guiGridListGetSelectedItem ( driversList ) ~= -1 ) then triggerServerEvent ("pushim", getLocalPlayer()) else outputChatBox("No user selected -.-'", nil , 255, 0, 0, false) end Idk . . . help please.
  18. serverFFS ??? Omg no Tnx. I have 2 servers close in FFS,cause epic bugged linux version. Rate : Support : 0/10 never reply in forum and ticket disable . . .very bad. Menage server : 10/10 i like the system for menage the server.backup/download backup/restore backup etc. . Anyway the serverFSS is good. . . But now is very shit. No buy now in this host. . .wait the bugs fixed. P.S. My personal opinion.
  19. Ok Work but this script work only for 3 clan i have 9 clans and one default "drivers" solution? Anyway nice script
  20. Oh yep work but for Default color players? example : {"%%", "Drivers", "#770000", nil}, ??? <---This no work old AutoTeam :
×
×
  • Create New...