BlackIN Posted January 14, 2011 Share Posted January 14, 2011 I Am Snake i Run My own Lan Server I want to Know Is that Possible In radar Admins Shows in Red Colour And Normal People Shows In his Normal Colour If it is Possible or have Script Like This Please Send me Needed Link to comment
Scooby Posted January 14, 2011 Share Posted January 14, 2011 its probably quicker to edit the gamemode you use and on spawn set it to set admin blips as red. failing that: function setAdminBlipColour(player) if (hasObjectPermissionTo(player, "function.kickPlayer", false)) then local attachedElements = getAttachedElements(player) if attachedElements then for k,v in ipairs(attachedElements) do if getElementType(v) == "blip" then setBlipColor(v,255,0,0,255) end end end end end function onSpawn() setTimer(setAdminBlipColour,500,1,source) end addEventHandler ( "onPlayerSpawn", getRootElement(), onSpawn) Link to comment
BlackIN Posted January 15, 2011 Author Share Posted January 15, 2011 Sorry But i DOnt get you what are you saying can you properly explain me what i have to do wih this Script........... Link to comment
Castillo Posted January 15, 2011 Share Posted January 15, 2011 I'm guessing you are using the Default game mode named "play" and "freeroam" include, then you must make "play" a folder and open broph.lua and paste the code Scooby made on it. Link to comment
BlackIN Posted January 15, 2011 Author Share Posted January 15, 2011 Sorry but i am Using Race Gamemod..........And i Want Admins=To Be Red Colour And other Players to Be Normal white colour..............and i cant find broph.lua Link to comment
Castillo Posted January 15, 2011 Share Posted January 15, 2011 Then use this guide: https://wiki.multitheftauto.com/wiki/Resources Link to comment
BlackIN Posted January 15, 2011 Author Share Posted January 15, 2011 Look As Scooby says i Copy His Script And Copy To Notepad And Save as Name Radar.lua And Made Meta Of it Like This <meta> <info author="Snake" description="Radar Red Blips" version="4.0.0"/> <script src="radar.lua" type="client" /> </meta> And Make a Folder Name Call RADAR Then I Run No Changes in it now what to do ? Link to comment
Buffalo Posted January 15, 2011 Share Posted January 15, 2011 It's server-side script (server event onPlayerSpawn used), so it must be just like that: <meta> <info author="Snake" description="Radar Red Blips" version="4.0.0"/> <script src="radar.lua" type="server" /> </meta> Link to comment
BlackIN Posted January 24, 2011 Author Share Posted January 24, 2011 I want to add Moderator and Super moderator too please help me......... Link to comment
Castillo Posted January 24, 2011 Share Posted January 24, 2011 Check how it's done and you will get how to add more. Link to comment
BlackIN Posted January 27, 2011 Author Share Posted January 27, 2011 Give one Example Please/\ Link to comment
12p Posted January 27, 2011 Share Posted January 27, 2011 As MetalGear14 said. Just try it before asking us, we have own things to do. Practice makes the master! PS: Actually, Scooby gave you an example -.- Link to comment
Castillo Posted January 27, 2011 Share Posted January 27, 2011 My name it's "Solidsnake14" not "MetalGear14" 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