Jump to content

CoolCaR

Members
  • Posts

    4
  • Joined

  • Last visited

Details

  • Gang
    mafia

CoolCaR's Achievements

Vic

Vic (3/54)

0

Reputation

  1. i have this code for spectators can any one help me to make getPlayerTeam(to show the team color): client: local sX,sY = guiGetScreenSize() local visible = true local specList = {} local gS = sY*0.25 local gY = sY*0.7 local gF = math.floor((gY-gS)/18) local function drawSpectatorsList() if specList and (#specList >= 1) then dxDrawText("Spectators:",0,gS,sX-15,1,tocolor(0,0,0,200),1,"default-bold","right") dxDrawText("#ff7700Spectators#ffffff:",0,gS,sX-15,0,tocolor(255,255,255,255),1,"default-bold","right","top",false,false,false,true) for k,v in ipairs(specList) do dxDrawText(specList[k]:gsub("#%x%x%x%x%x%x",""),1,gS+18*k+1,sX-14,1,tocolor(0,0,0,200),1,"default-bold","right") dxDrawText(specList[k],0,gS+18*k,sX-15,0,tocolor(255,255,255,255),1,"default-bold","right","top",false,false,false,true) if (k == gF) then break; end end end end addEventHandler("onClientRender",root,drawSpectatorsList) bindKey("F2","down", function() if visible then removeEventHandler("onClientRender",root,drawSpectatorsList) visible = false else addEventHandler("onClientRender",root,drawSpectatorsList) visible = true end end) addEvent("sendClientSpecList",true) addEventHandler("sendClientSpecList",root, function(arg1) specList = arg1 end) ------------------------------------------------------ ------------------------------------------------------ ------------------------------------------------------
  2. Hey Guys this coolluck , i know this my brother account . I am looking for scripter (MTA) that can script big things like userpanel... For my server PSG If there any one contact me on my skype :saeed.98 Ty
  3. hello all please cheak out -PSG// PRo Style Gamers server i hope you will like it and play there have fun and a nice day web : http://www.team-psg.net server ip : 217.18.70.132:22020 #also i want to say that i searching for scripter , will get a nice rank ,and maybe if he want money
×
×
  • Create New...