Jump to content

[UCG]Mike

Members
  • Posts

    108
  • Joined

  • Last visited

Everything posted by [UCG]Mike

  1. Again it there https://community.multitheftauto.com/ind ... ls&id=9852
  2. EDIT: https://community.multitheftauto.com/ind ... ls&id=9851 The Real: https://community.multitheftauto.com/ind ... ls&id=8721 DONE
  3. [UCG]Mike

    Team health

    Snipers = "Snipers" local steam = getTeamFromName ( Snipers ) or try that
  4. its easy from you but its hard from me plzz do it from me if you can
  5. -- Anti compiller local CNGSecurity = {{{{{ {}, {}, {} }}}}} -- The Vehicle Spawn Gui vehiclesWindow = guiCreateWindow(395,237,241,413,"CNG ~ Vehicles",false) vehiclesGrid = guiCreateGridList(9,26,221,307,false,vehiclesWindow) guiGridListSetSelectionMode(vehiclesGrid,0) spawnVehicleSystemButton = guiCreateButton(9,337,220,30,"Spawn Vehicle",false,vehiclesWindow) closeWindowButton = guiCreateButton(9,373,220,30,"Close Window",false,vehiclesWindow) guiGridListSetSortingEnabled ( vehiclesGrid, false ) vehicleName = guiGridListAddColumn( vehiclesGrid, " Vehiclename:", 0.80 ) addEventHandler("onClientGUIClick", closeWindowButton, function() guiSetVisible(vehiclesWindow, false) showCursor(false,false) guiGridListClear ( vehiclesGrid ) end, false) local screenW,screenH=guiGetScreenSize() local windowW,windowH=guiGetSize(vehiclesWindow,false) local x,y = (screenW-windowW)/2,(screenH-windowH)/2 guiSetPosition(vehiclesWindow,x,y,false) guiWindowSetMovable (vehiclesWindow, true) guiWindowSetSizable (vehiclesWindow, false) guiSetVisible (vehiclesWindow, false) local pilotJobVehicles = { [511] = {"Beagle", 6, 1, 1, 1}, [593] = {"Dodo", 6, 1, 1, 1}, [417] = {"Leviathan", 6, 1, 1, 1}, [519] = {"Shamal", 6, 1, 1, 1}, [553] = {"Nevada", 6, 1, 1, 1}, [487] = {"Maverick", 6, 1, 1, 1}, [513] = {"Stuntplane", 6, 1, 1, 1}, } local allPilotJobVehicles = { [511] = {"Beagle", 6, 1, 1, 1}, [593] = {"Dodo", 6, 1, 1, 1}, [417] = {"Leviathan", 6, 1, 1, 1}, [519] = {"Shamal", 6, 1, 1, 1}, [553] = {"Nevada", 6, 1, 1, 1}, [487] = {"Maverick", 6, 1, 1, 1}, [513] = {"Stuntplane", 6, 1, 1, 1}, [583] = {"Tug",6,1,1,1}, } local pilotTug = { [583] = {"Tug",6,1,1,1}, } local criminalJobVehicles = { [468] = {"Sanchez", 0, 0, 1, 1}, [466] = {"Glendale", 0, 0, 1, 1} } local copLV = { [596] = {"Police Car (LS)", 0, 1, 1, 1}, [597] = {"Police Car (SF)", 0, 1, 1, 1}, [598] = {"Police Car (LV)", 0, 1, 1, 1}, [523] = {"HPV1000", 0, 1, 1, 1}, --[497] = {"Police Maverick", 0, 1, 1, 1}, [426] = {"Premier", 23, 1, 1, 1} } local fbiJobVehicles = { [490] = {"FBI Rancher",131,131,131,131,r=0,g=0,b=0,r=0,g=0,b=0,r2=255,g2=255,b2=255}, [528] = {"FBI Truck",131,131,131,13,r=0,g=0,b=0,r2=255,g2=255,b2=2551}, [427] = {"Enforcer",131,131,131,131,r=0,g=0,b=0,r2=255,g2=255,b2=255}, [596] = {"Police Car (LS)",131,131,131,131,r=0,g=0,b=0,r2=255,g2=255,b2=255}, [597] = {"Police Car (SF)",131,131,131,131,r=0,g=0,b=0,r2=255,g2=255,b2=255}, [598] = {"Police Car (LV)",131,131,131,131,r=0,g=0,b=0,r2=255,g2=255,b2=255}, [599] = {"Police Ranger",131,131,131,131,r=0,g=0,b=0,r2=255,g2=255,b2=255}, [415] = {"Cheetah", 131,131,131,131,r=0,g=0,b=0,r2=255,g2=255,b2=255}, [551] = {"Merit",131,131,131,131,r=0,g=0,b=0,r2=255,g2=255,b2=255}, [579] = {"Huntley",131,131,131,131,r=0,g=0,b=0,r2=255,g2=255,b2=255}, [426] = {"Premier",131,131,131,131,r=0,g=0,b=0,r2=255,g2=255,b2=255}, [523] = {"HPV1000",131,131,131,131,r=0,g=0,b=0,r2=255,g2=255,b2=255}, [468] = {"Sanchez",131,131,131,131,r=0,g=0,b=0,r2=255,g2=255,b2=255}, [451] = {"Turismo",131,131,131,131,r=0,g=0,b=0,r2=255,g2=255,b2=255}, } local fbiAir = { [497] = {"Police Maverick",131,131,131,131,r=0,g=0,b=0,r2=255,g2=255,b2=255}, [519] = {"Shamal",131,131,131,131,r=0,g=0,b=0,r2=255,g2=255,b2=255}, [447] = {"Seasparrow",131,131,131,131,r=0,g=0,b=0,r2=255,g2=255,b2=255}, } local fbiSea = { [472] = {"Coastguard",131,131,131,131,r=0,g=0,b=0,r2=255,g2=255,b2=255}, [595] = {"Launch",131,131,131,131,r=0,g=0,b=0,r2=255,g2=255,b2=255}, [430] = {"Predator",131,131,131,131,r=0,g=0,b=0,r2=255,g2=255,b2=255}, } local swatJobVehicles = { [596] = {"Police Car (LS)", 131,131,131,131,r=26,g=19,b=122,r2=255,g2=255,b2=255}, [597] = {"Police Car (SF)", 131,131,131,131,r=26,g=19,b=122,r2=255,g2=255,b2=255}, [598] = {"Police Car (LV)", 131,131,131,131,r=26,g=19,b=122,r2=255,g2=255,b2=255}, [599] = {"Police Ranger", 131,131,131,131,r=26,g=19,b=122,r2=255,g2=255,b2=255}, [523] = {"HPV1000", 131,131,131,131,r=26,g=19,b=122,r2=255,g2=255,b2=255}, [601] = {"S.W.A.T", 131,131,131,131,r=26,g=19,b=122,r2=255,g2=255,b2=255}, [427] = {"Enforcer",131,131,131,131,r=26,g=19,b=122,r2=255,g2=255,b2=255}, [415] = {"Cheetah", 131,131,131,131,r=26,g=19,b=122,r2=255,g2=255,b2=255}, [426] = {"Premier", 131,131,131,131,r=26,g=19,b=122,r2=255,g2=255,b2=255}, [428] = {"Securicar", 131,131,131,131,r=26,g=19,b=122,r2=255,g2=255,b2=255}, [468] = {"Sanchez", 131,131,131,131,r=26,g=19,b=122,r2=255,g2=255,b2=255}, [451] = {"Turismo",131,131,131,131,r=26,g=19,b=122,r2=255,g2=255,b2=255}, [560] = {"Sultan",131,131,131,131,r=26,g=19,b=122,r2=255,g2=255,b2=255}, [490] = {"FBI Rancher", 131,131,131,131,r=26,g=19,b=122,r2=255,g2=255,b2=255}, [579] = {"Huntley", 131,131,131,131,r=26,g=19,b=122,r2=255,g2=255,b2=255}, } local swatAir = { [447] = {"Seasparrow",53, 1 , 1, 1}, [519] = {"Shamal", 53, 1 , 1, 1}, } local dodCars = { [426] = {"Premier",0,0,0,0}, [596] = {"LSPD",0,0,0,0}, [597] = {"SFPD",0,0,0,0}, [598] = {"LVPD",0,0,0,0}, [599] = {"Police Ranger",0,0,0,0}, [490] = {"FBI Rancher",0,0,0,0}, [579] = {"Huntley",0,0,0,0}, [523] = {"HPV1000",0,0,0,0}, [468] = {"Sanchez",0,0,0,0}, [415] = {"Cheetah",0,0,0,0}, [551] = {"Merit",0,0,0,0}, [470] = {"Patriot",0,0,0,0}, [433] = {"Barracks",0,0,0,0}, [428] = {"Securicar",0,0,0,0}, [427] = {"Enforcer",0,0,0,0}, [528] = {"FBI Truck",0,0,0,0}, [407] = {"Fire Truck",0,0,0,0} } local swatHeli = { [497] = {"Police Maverick", 53, 1, 1, 1}, [563] = {"Raindance",53,1,1,1}, [447] = {"Seasparrow",53, 1 , 1, 1}, [519] = {"Shamal", 53, 1 , 1, 1}, } local swatBoat = { [472] = {"Coastguard",53, 1 , 1, 1 }, [595] = {"Launch",53, 1 , 1, 1}, [430] = {"Predator",53, 1 , 1, 1 }, [493] = {"Jetmax",53, 1 , 1, 1 }, } local medicJobVehicles = { [416] = {"Ambulance", 1, 3, 0, 0} } local freeVehicles = { [481] = {"BMX", 1, 1, 0, 0}, [510] = {"Mountain Bike", 1, 1, 0, 0}, [509] = {"Bike", 1, 1, 0, 0}, [529] = {"Willard", 1, 1, 0, 0}, [462] = {"Faggio", 1, 1, 0, 0} } local freeBoat = { [473] = {"Dinghy",1,1,0,0}, } local mechanicJobVehicles = { [554] = {"Yosemite", 0, 6, 0, 0}, [525] = {"Towtruck", 0, 6, 0, 0}, [422] = {"Bobcat", 0, 6, 0, 0}, [589] = {"Club", 6, 6, 0, 0} } local delieveryMan = { [440] = {"Rumpo", 0, 6, 0, 0}, [413] = {"Delievery Van", 0, 6, 0, 0}, } local policeJobVehicles = { [596] = {"Police Car (LS)", 106, 1, 1, 1}, [597] = {"Police Car (SF)", 106, 1, 1, 1}, [598] = {"Police Car (LV)", 106, 1, 1, 1}, [599] = {"Police Ranger", 106, 1, 1, 1} } local ciaVehs = { [596] = {"Police Car (LS)", 106, 1, 1, 1}, [597] = {"Police Car (SF)", 106, 1, 1, 1}, [598] = {"Police Car (LV)", 106, 1, 1, 1}, [599] = {"Police Ranger", 106, 1, 1, 1}, [415] = {"Cheetah", 106, 1, 1, 1}, [523] = {"HPV1000",106, 1, 1, 1}, [426] = {"Premier", 106, 1, 1, 1}, } local ciaAir = { [497] = {"Police Maverick",106, 1 , 1, 1}, } local fireFighterVehicles = { [407] = {"Fire Truck",3,1,1,1}, [544] = {"Fire Truck (Ladder)",3,1,1,1} } local policeTrafficJobVehicles = { [523] = {"HPV1000", 106, 1, 1, 1}, [415] = {"Cheetah", 106, 1, 1, 1}, [426] = {"Premier", 106, 1, 1, 1}, [596] = {"Police Car (LS)", 106, 1, 1, 1}, [597] = {"Police Car (SF)", 106, 1, 1, 1}, [598] = {"Police Car (LV)", 106, 1, 1, 1}, [599] = {"Police Ranger", 106, 1, 1, 1} } local policeDogJobVehicles = { [523] = {"HPV1000", 106, 1, 1, 1}, [415] = {"Cheetah", 106, 1, 1, 1}, [426] = {"Premier", 106, 1, 1, 1}, [596] = {"Police Car (LS)", 106, 1, 1, 1}, [597] = {"Police Car (SF)", 106, 1, 1, 1}, [598] = {"Police Car (LV)", 106, 1, 1, 1}, [599] = {"Police Ranger", 106, 1, 1, 1} } local militaryVehicles = { [596] = {"Police Car (LS)", 44, 1, 1, 1}, [597] = {"Police Car (SF)", 44, 1, 1, 1}, [598] = {"Police Car (LV)", 44, 1, 1, 1}, [599] = {"Police Ranger", 44, 1, 1, 1}, [470] = {"Patriot", 1, 1, 1, 1}, [468] = {"Sanchez", 44, 1 , 1, 1}, [433] = {"Barracks", 44, 1 , 1, 1}, [428] = {"Securicar", 44, 1 , 1, 1}, [426] = {"Premier", 44, 1 , 1, 1}, [500] = {"Mesa", 44, 1, 1, 1}, [432] = {"Rhino", 1, 1, 1, 1}, [476] = {"Rustler", 44, 1 , 1, 1}, [579] = {"Huntley", 44, 1, 1, 1}, [519] = {"Shamal", 44, 1 , 1, 1}, [520] = {"Hydra", 1, 1, 1, 1}, [548] = {"Cargobob", 1, 1, 1, 1}, [563] = {"Raindance",53,1,1,1}, [497] = {"Police Maverick", 44, 1 , 1, 1}, [447] = {"Seasparrow", 1, 1, 1, 1}, [425] = {"Hunter", 1, 1, 1, 1} }
  6. tyyyyyyyy it working now !!!
  7. ye can you give me your script, its not a big resource, its a simple script
  8. local tab = { [ 'Los Santos' ] = 'LS'; [ 'Las Venturas' ] = 'LV'; [ 'San Fierro' ] = 'SF'; } function chatbox ( text, msgtype ) if ( msgtype == 0 ) then cancelEvent ( ) local name = getPlayerName ( source ) local playerX, playerY, playerZ = getElementPosition ( source ) local playerZoneName = getZoneName ( playerX, playerY, playerZ, true ) local playerZoneName = ( tab [ playerZoneName ] or "None" ) local team = getPlayerTeam ( source ) local r, g, b = unpack ( team and { getTeamColor ( team ) } or { getPlayerNametagColor ( source ) } ) for _, player in ipairs ( getElementsByType ( "player" ) ) do local playerX, playerY, playerZ = getElementPosition ( player ) local zoneName = getZoneName ( playerX, playerY, playerZ, true ) local zoneName = ( tab [ zoneName ] or "None" ) if ( zoneName == playerZoneName ) then outputChatBox ( "(".. playerZoneName ..")".. name ..":".. text, player, r, g, b, true ) end end end end addEventHandler ( "onPlayerChat", root, chatbox ) "Mr.Risk" type="script" version="1.0" description="Chat-Zone" />
  9. no bro its not working any one give me his mod
  10. no errors in debugscript 3
  11. [quote="Mr.Risk"]local tab = { [ 'Los Santos' ] = 'LS'; [ 'Las Venturas' ] = 'LV'; [ 'San Fierro' ] = 'SF'; } function chatbox ( text, msgtype ) cancelEvent ( ) if ( msgtype == 0 ) then local name = getPlayerName ( source ) local playerX, playerY, playerZ = getElementPosition ( source ) local playerZoneName = getZoneName ( playerX, playerY, playerZ, true ) local playerZoneName = ( tab [ playerZoneName ] or "None" ) local team = getPlayerTeam ( source ) local r, g, b = unpack ( team and { getTeamColor ( team ) } or { getPlayerNametagColor ( source ) } ) for _, player in ipairs ( getElementsByType ( "player" ) ) do local playerX, playerY, playerZ = getElementPosition ( player ) local zoneName = getZoneName ( playerX, playerY, playerZ, true ) local zoneName = ( tab [ zoneName ] or "None" ) if ( zoneName == playerZoneName ) then outputChatBox ( "(".. playerZoneName ..")".. name ..":".. text, player, r, g, b, true ) end end end end addEventHandler ( "onPlayerChat", root, chatbox )[/quote] Right ?
  12. local tab = { [ 'Los Santos' ] = 'LS'; [ 'Las Venturas' ] = 'LV'; [ 'San Fierro' ] = 'SF'; } function chatbox ( text, msgtype ) if ( msgtype == 0 ) then local name = getPlayerName ( source ) local playerX, playerY, playerZ = getElementPosition ( source ) local playerZoneName = getZoneName ( playerX, playerY, playerZ, true ) local playerZoneName = ( tab [ playerZoneName ] or "None" ) local team = getPlayerTeam ( source ) local r, g, b = unpack ( team and { getTeamColor ( team ) } or { getPlayerNametagColor ( source ) } ) for _, player in ipairs ( getElementsByType ( "player" ) ) do local playerX, playerY, playerZ = getElementPosition ( player ) local zoneName = getZoneName ( playerX, playerY, playerZ, true ) local zoneName = ( tab [ zoneName ] or "None" ) if ( zoneName == playerZoneName ) then outputChatBox ( "(".. playerZoneName ..")".. name ..":".. text, player, r, g, b, true ) end end cancelEvent ( ) end end addEventHandler ( "onPlayerChat", root, chatbox )
  13. hey guys i have problem ( when i add Chat Zone resource i have problem when talk in say and i need any fix plz ) local tab = { [ 'Los Santos' ] = 'LS'; [ 'Las Venturas' ] = 'LV'; [ 'San Fierro' ] = 'SF'; } function chatbox ( text, msgtype ) if ( msgtype == 0 ) then local name = getPlayerName ( source ) local playerX, playerY, playerZ = getElementPosition ( source ) local playerZoneName = getZoneName ( playerX, playerY, playerZ, true ) local playerZoneName = ( tab [ playerZoneName ] or "None" ) local team = getPlayerTeam ( source ) local r, g, b = unpack ( team and { getTeamColor ( team ) } or { getPlayerNametagColor ( source ) } ) for _, player in ipairs ( getElementsByType ( "player" ) ) do local playerX, playerY, playerZ = getElementPosition ( player ) local zoneName = getZoneName ( playerX, playerY, playerZ, true ) local zoneName = ( tab [ zoneName ] or "None" ) if ( zoneName == playerZoneName ) then outputChatBox ( "(".. playerZoneName ..")".. name ..":".. text, player, r, g, b, true ) end end cancelEvent ( ) end end addEventHandler ( "onPlayerChat", root, chatbox ) i dont want to talk 2 time
  14. I cant join to the server
×
×
  • Create New...