Jump to content

Admigo

Members
  • Posts

    175
  • Joined

  • Last visited

Everything posted by Admigo

  1. Link pls. I cant find it in resources.
  2. Thanks Dude,but its not working,Its adding a country collum buy when i login or not logged in nothings shows in the collum.
  3. Ooh okay,I will look what i can do:(
  4. Heey all, I saw that you can add flags from your country in dxscoreboard. But i dont know how. Can anyone give me the code pls? Thanks Admigo
  5. Heey all, How can i delete the shadow from nametag? The nametag show in blue admigo with a white shadow. END# is white. So the name have a white shadow and if i change color of clan the shadow will be that color. How can i delete the shadow from nametag? Thanks Admigo
  6. Already fixed,thanks for help;)
  7. I dont need a command for it. I just want to change the colour from nametag that changes to the nickname colored(hex Colour in nick) when the player joins server.
  8. Where i need to change it or add it?
  9. Heey all, Anyone know how i can make this white playername showing to a colored(if player using hex colour in name)? Or in what file can i fix it?: http://www.google.nl/imgres?q=multi+theft+auto+race&um=1&hl=nl&biw=1034&bih=708&tbm=isch&tbnid=NB0Rr_PS2rEN0M:&imgrefurl=http://euseb1u.nl.picturepush.com/album/67886/2239886/Multi-Theft-Auto-SA-(-Race-)/1.html&docid=EeCl5GYcuypoMM&itg=1&imgurl=http://www3.picturepush.com/photo/a/2239886/480/Multi-Theft-Auto-SA-(-Race-)/1.jpg%253Fv0&w=480&h=384&ei=rgzkTpSRJs-e-QbrvbCzBQ&zoom=1&iact=hc&vpx=552&vpy=158&dur=487&hovh=201&hovw=251&tx=106&ty=113&sig=105966895218024633817&page=1&tbnh=159&tbnw=200&start=0&ndsp=12&ved=1t:429,r:2,s:0 Thanks Admigo
  10. P2 Is fixed,I only need function for p1.
  11. P1:How can i make that function? P2:Dont work,nothing happens if i enable hex colors.
  12. Heey all, I have 2 problems with my colours. Problem 1: If player has hex colours in front of name and if i look at him the name is still white(not at chat) Like This:http://www.google.nl/imgres?q=multi+theft+auto+race&um=1&hl=nl&biw=1034&bih=708&tbm=isch&tbnid=NB0Rr_PS2rEN0M:&imgrefurl=http://euseb1u.nl.picturepush.com/album/67886/2239886/Multi-Theft-Auto-SA-(-Race-)/1.html&docid=EeCl5GYcuypoMM&itg=1&imgurl=http://www3.picturepush.com/photo/a/2239886/480/Multi-Theft-Auto-SA-(-Race-)/1.jpg%253Fv0&w=480&h=384&ei=rgzkTpSRJs-e-QbrvbCzBQ&zoom=1&iact=hc&vpx=552&vpy=158&dur=487&hovh=201&hovw=251&tx=106&ty=113&sig=105966895218024633817&page=1&tbnh=159&tbnw=200&start=0&ndsp=12&ved=1t:429,r:2,s:0 I just Want that the player has the color from the hex color that the player has in name. Problem 2:I made 2 teams for the dxscoreboard:players and admins. Player team is white and admin is blue. How can i make if a player uses hex colour that colour will be seen in scoreboard? I hope you will help me fix this. Thanks Admigo
  13. Cant because everytime if i click on the server it says the server is moving so i cant go to the options from the server. I already sended a mail to them but they have bad support.
  14. Heey all, I have a server on serverffs and i moved my server to netherlands and now the server is stuck because its says it moving. Now its 2 days ago and i cant stop/start and restart server at the panel at serverffs. Is there a way to restart server with a command? /restart dont work:s Thanks Admigo
  15. I dont copying ideas from epg noob. I just want to let players earn money if they win:S If you make a dm and you add money you dont say you copying his server because you add money. So shut up noob.
  16. I mean if there are 8 players on and a player gets on first position with derby so he gets 1000 money and when a player ends on second place he gets 750 but if there 7 players online they dont get money because the server has 8 players needed for earn money after a derby match.
  17. Hee all, i make a derby server and i want if there are more then 8 players online you get money from a position. So if there are 8 players online and someone ended first he gets 1k and if someone is second he gets 750 etc. How can i do this and where? Pls help me. Thanks admigo
  18. Can someone give me a worked code pls:( Just i want to add country id into dxscoreboard,so you can see in scoreboard where someone lives. Example: Name Country Admigo NL Pls help me,i really need it for my server.
  19. Thanks for code but it dont work. The Country collum is blank:S
  20. Why this dont work? Server Side: exports.scoreboard:addScoreboardColumn('Country') function addCountryScore () local flag = call(getResourceFromName("admin"), "getPlayerCountry", source) setElementData(source,"Country","..flag..") end
  21. Thank you so much Hunterix~! Your code works:P Thank you all for sending the codes!!
  22. Heey guys, I use solids shop resource and i want to change the command /shop to a f1 key so if you press f1 the shop opens and if the shop is open and you press again the shop close. Server: addEvent ("viewGUI", true) function showGui (hitPlayer, matchingDimension) triggerClientEvent ("viewGUI", hitPlayer) end addCommandHandler("shop",showGui) addEvent ("weapBuy", true) addEventHandler ("weapBuy", getRootElement(), function(id, cost, name, ammo) if (getPlayerMoney (source) >= tonumber(cost)) then outputChatBox ("You Bought a " .. name, source, 255, 0, 0, false) outputChatBox ("ID: " .. id, source, 255, 0, 0, false) outputChatBox ("Cost: " .. cost, source, 255, 0, 0, false) takePlayerMoney (source, tonumber (cost)) giveWeapon(source, tonumber(id),1000) else outputChatBox ("You are too poor!", source, 255, 0, 0, false) end end) addEvent ("carBuy", true) addEventHandler ("carBuy", getRootElement(), function(id2, cost2, name2,x, y, z, sRz) if (getPlayerMoney (source) >= tonumber(cost2)) then outputChatBox ("Bought a " .. name2, source, 255, 0, 0, false) outputChatBox ("ID: " .. id2, source, 255, 0, 0, false) outputChatBox ("Cost: " .. cost2, source, 255, 0, 0, false) takePlayerMoney (source, tonumber (cost2)) local x,y,z = getElementPosition (source) local vehicle = createVehicle (id2, x, y, z, 0, 0, sRz ) warpPedIntoVehicle(source, vehicle) else outputChatBox ("You are too poor!", source, 255, 0, 0, false) end end) function vExplode () toggleVehicleRespawn ( source, false ) setTimer(destroyElement, 5000, 1, source) end addEventHandler ( "onVehicleExplode", getResourceRootElement(getThisResource()), vExplode ) function skillButton (id, cost) if (id == "0") then skillBuyPlayer (250,source,69) elseif (id == "1") then skillBuyPlayer (2000,source,70) elseif (id == "2") then skillBuyPlayer (500,source,71) elseif (id == "3") then skillBuyPlayer (5800,source,72) elseif (id == "4") then skillBuyPlayer (11000,source,73) elseif (id == "5") then skillBuyPlayer (7500,source,74) elseif (id == "6") then skillBuyPlayer (5500,source,75) elseif (id == "7") then skillBuyPlayer (7000,source,76) elseif (id == "8") then skillBuyPlayer (8000,source,77) elseif (id == "9") then skillBuyPlayer (10000,source,78) elseif (id == "10") then skillBuyPlayer (10000,source,79) end end addEvent ("skillBuy", true) addEventHandler ("skillBuy", getRootElement(),skillButton) function skillBuyPlayer (cash,player,id) if (getPlayerMoney (player) >= cash) then takePlayerMoney (player,cash) setPedStat(player, id, 999) else outputChatBox ("You are too poor!", player, 255,0,0) end end Pls help. Thanks Admigo
×
×
  • Create New...