RaceUnit Posted February 18, 2013 Share Posted February 18, 2013 Hello, I have downloaded the resource Spectators, and want to change the colour off the text but i can't, the code is like this: LuaQ @spectators_c.lua.bak F À€ …@ œ€€ Ê J Á@ IAÁ I‚‚€ ä Ç ÅÁ AB …‚ ÜA Ê ‚ A ‚€ B€‚ A ‚€ B€B A‚ … äB B B A …Â ä‚ €B B A … ä €B $ $B € € € €B B A‚ … ÅB B $‚  $ € guiGetScreenSize getLocalPlayer xOffset @ yOffset @ changeSpectatorsEnabled bindKey F2 down addEvent addSpectator removeSpectator addEventHandler onClientResourceStart root elementCheck drawSpectators onClientRender dxDrawColorText getScale € showSpectators A@ „ @€ € triggerServerEvent addClient localPlayer # % E F@À „ À \@€ € table insert $ $ $ $ $ % spectator spectators ( . E „ \ €€ € €…A †@Ä œA€a€ €ý € ipairs table remove ) ) ) ) * * + + + + + ) , . spectator (for generator) (for state) (for control) i val spectators 0 9 À€E € \€ Z €€E@ € \€ €À @ €B € ^ B ^ € isElement getElementType player 1 1 2 2 2 2 2 3 3 3 3 3 4 4 8 8 9 elem = Z µ @ ,€ € D F@À @ D F€À … Ä € œ€ ‡À …@ Á€ ÁA LÁÁ „€ Ä€ AB B ÁB ƒ ‚€E  œ@€…@ Á€ @€ „€ Ä€ A ÁB ƒ ‚€E  œ@€…€ Ä œ€ š@ À €„ €” €€„ €…À Ä €œ @€Å Ü Ú À€ÅA Ü Z À€ EB ‚ Å ÆÅ €AC ƒ Ü‚ •ÂÍÂA à ƒ Eà …à Áà \ƒ€NCCFD€ „€Å D AD D Á„ ܃€Ä AÄ \‚€ B‚€EB ‚ À€•ÂÀ à ƒ Eà …à Áà \ƒ€NCCD€ „€Å „ A„ „ Á„ ܃€Ä AÄ \‚€ B‚ €Å ÆÁÆ€E ÜA€¡€ À쀀„ Å@ A MÁA …Á Œ ÅÁ  A ܀ŒÁŒFÄ€ €E B ÁB C Aƒ \‚€… Á ܀€‰À€ƒ„ €Å@ A @ …Á Œ ÅÁ  A ܀ŒÁÄ€ €E ‚ Á‚ ƒ Aƒ \‚€… Á ܀€‰À€ƒ € xOffset yOffset scale getScale dxDrawText Spectators: ð? tocolor ào@ bankgothic €e@ €o@ isPlayerDead ipairs elementCheck getPlayerName string gsub #%x%x%x%x%x%x dxGetFontHeight ø? dxDrawColorText table remove k No-one µ > > > ? ? ? ? @ @ B B B B D D D D D D D D D D D D D D D E E E E E E E E E E E E E E E G G G G G H H H H I I I I J J J J J K K K L L M M M M M M M M M M M M M M M M M M M M M M M M M M M M M M M M N N N N N N N N N N N N N N N N N N N N N N N N N N O Q Q Q Q Q I R S U U U U U U U U U U U U U U U U U U U U U U U U V V V V V V V V V V V V V V V V V V V V V V V Z textX ´ textY ´ (for generator) 7 „ (for state) 7 „ (for control) 7 „ i 8 ‚ v 8 ‚ name @ | showSpectators x spectatorSettings y localPlayer spectators dxDrawOutline dxDraw ^ r y KB@ À ƒ \BAƒ Z @€ÀÀ@€ À€… ÅC „ KÄAÁ„ \„ D܃ D A„ ‹ÄAE A… œ„ U„„„ ED „ ËÄAAÅ Ü„ •Ä \„ D œƒ€@ €À@ €WÀÀÀ€…ƒ À€ @€œƒ Åà €@€ € Ì„ƒ @€€ À€ÜC€L€ƒ Å D A„ ‹ÄA… A œ„ U„„„ ED „ ËÄAAE … Ü„ •Ä \„ …D Á„ ÅAÅ Á … Õ… œ„ ÁD ܃€@€Lƒ@‹C@ @€œC €À €€@ Àè” €ƒ€€‹ÃA €œƒ€À …ƒ À€ @€œƒ Åà €@€ € Ì„ƒ @€€ À€ÜC€ € (.-)#(%x%x%x%x%x%x) find ð? tocolor tonumber sub @ @ @ @ @ ào@ dxGetTextWidth dxDrawText y _ ` ` ` ` a b b c c c c c c c c c c c c c c c c c c c c c c c c c c c c c c c c d d d d e e e e e f f f f f f f f f f g h h h h h h h h h h h h h h h h h h h h h h h h h h h h j k k k k k k k k k m m m n n n n o o o o o p p p p p p p p p p r str x ax x ay x bx x by x color x scale x font x pat x s x e x cap x col x last x w 1 X w n x u x N @ O@À ^ € š™™™™™Ù? @@ v v w x w scale F " " " % % " ' ' ' . . ' 9 0 Z Z Z Z Z Z Z Z Z = [ [ [ [ [ r ^ x u x x E y E localPlayer E dxDraw E dxDrawOutline E spectatorSettings E showSpectators E spectators E Anybody know how to change the colour? Or obfuscate the code? Regards, RaceUnit. Link to comment
iPrestege Posted February 18, 2013 Share Posted February 18, 2013 Can not this why?Because Compiled script. Link to comment
RaceUnit Posted February 18, 2013 Author Share Posted February 18, 2013 Okay, thanks! I did'nt know this, but i found an other spectators script which is open-source. Thanks for the information! Link to comment
Sora Posted February 18, 2013 Share Posted February 18, 2013 btw this is an open-source speactators resource https://community.multitheftauto.com/ind ... ls&id=3136 Link to comment
RaceUnit Posted February 18, 2013 Author Share Posted February 18, 2013 btw this is an open-source speactators resource https://community.multitheftauto.com/ind ... ls&id=3136 On my server it won't work, there is someone spectating my but is just say "None.". Can anyone help my? Link to comment
Sex* Posted March 11, 2013 Share Posted March 11, 2013 I had tried that also, its buggeda and i found already a better spectators resource. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now