Jump to content

Baseplate

Members
  • Posts

    1,417
  • Joined

  • Last visited

Everything posted by Baseplate

  1. @denny199: Enough proof now?
  2. hey nice failing i didn't edit it lol i can send a pic
  3. Car Mod: https://community.multitheftauto.com/index.php?p= ... ls&id=3853
  4. i can confirm that viewtopic.php?f=114&t=40498
  5. i wanted to share this LOL! (sorry for double post): [20/02/2012 17:56:52] Majdy: HAHAHA BYE BYE NOOB GO AND SNITCH UR DAD IS DEAD AND UR GRANDAD IS DEAD TOO U FUCKING TUNISA SMELLY RAT GO AND SUCK UR DADS DICK UR MOM IS A SEX MACHINE NOOB TAKE THAT U FUCKING SMELLY I WILL KILL YOU NOOB WHE N I FIND U NOT EVEN KIDDING (FINGER)
  6. he lies,he wanna steal scripters' codes i asked for a server to test him with community resource and that is my proof [17:51:24] Majdy: u need too send me scripts [17:51:30] Majdy: i need them [17:51:46] Majdy: people send me things to host servers [17:51:53] Majdy: ur sedning me nothing [17:52:03] Majdy: u know what i want
  7. Baseplate

    ORANGE IS BANNED. WHY?

    Dude, Why we play MTA? just for fun,that's his way (as everyone does) to make fun by trolling ppl
  8. Stop bumping old topic the last post was in 2008 and now we are in 2012 wtf
  9. This resource dosen't work --[[ Copyright (c) 2010 MTA: Paradise This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see . ]] local nametags = { } -- settings local _max_distance = 120 -- max. distance it's visible local _min_distance = 7.5 -- minimum distance, if a player is nearer his nametag size wont change local _alpha_distance = 20 -- nametag is faded out after this distance local _nametag_alpha = 170 -- alpha of the nametag (max.) local _bar_alpha = 120 -- alpha of the bar (max.) local _scale = 0.2 -- change this to keep it looking good (proportions) local _nametag_textsize = 0.6 -- change to increase nametag text local _chatbubble_size = 15 local _bar_width = 40 local _bar_height = 6 local _bar_border = 1.2 -- adjust settings local _, screenY = guiGetScreenSize( ) real_scale = screenY / ( _scale * 800 ) local _alpha_distance_diff = _max_distance - _alpha_distance local localPlayer = getLocalPlayer( ) addEventHandler( 'onClientRender', root, function( ) -- get the camera position of the local player local cx, cy, cz = getCameraMatrix( ) local dimension = getElementDimension( localPlayer ) local interior = getElementInterior( localPlayer ) -- loop through all players for player, chaticon in pairs( nametags ) do if getElementDimension( player ) == dimension and getElementInterior( player ) == interior and isElementOnScreen( player ) then local px, py, pz = getElementPosition( player ) local distance = getDistanceBetweenPoints3D( px, py, pz, cx, cy, cz ) if distance <= _max_distance and ( getElementData( localPlayer, "collisionless" ) or isLineOfSightClear( cx, cy, cz, px, py, pz, true, true, false, true, false, false, true, getPedOccupiedVehicle( player ) ) ) then local dz = 1 + 2 * math.min( 1, distance / _min_distance ) * _scale if isPedDucked( player ) then dz = dz / 2 end pz = pz + dz local sx, sy = getScreenFromWorldPosition( px, py, pz ) if sx and sy then local cx = sx -- how large should it be drawn distance = math.max( distance, _min_distance ) local scale = _max_distance / ( real_scale * distance ) -- visibility local alpha = ( ( distance - _alpha_distance ) / _alpha_distance_diff ) local bar_alpha = ( ( alpha < 0 ) and _bar_alpha or _bar_alpha - (alpha * _bar_alpha) ) * ( getElementData( localPlayer, "collisionless" ) and 1 or getElementAlpha( player ) / 255 ) if bar_alpha > 0 then local nametag_alpha = bar_alpha / _bar_alpha * _nametag_alpha -- draw the player's name local r, g, b = getPlayerNametagColor( player ) dxDrawText( getPlayerNametagText( player ), sx, sy, sx, sy, tocolor( r, g, b, nametag_alpha ), scale * _nametag_textsize, 'default', 'center', 'bottom' ) -- draw the health bar local width, height = math.ceil( _bar_width * scale ), math.ceil( _bar_height * scale ) local sx = sx - width / 2 local border = math.ceil( _bar_border * scale ) -- draw the armor bar local armor = math.min( 100, getPedArmor( player ) ) if armor > 0 then -- outer background dxDrawRectangle( sx, sy, width, height, tocolor( 0, 0, 0, bar_alpha ) ) -- get the colors local r, g, b = 255, 255, 255 -- inner background, which fills the whole bar but is somewhat transparent dxDrawRectangle( sx + border, sy + border, width - 2 * border, height - 2 * border, tocolor( r, g, b, 0.4 * bar_alpha ) ) -- fill it with the actual armor dxDrawRectangle( sx + border, sy + border, math.floor( ( width - 2 * border ) / 100 * getPedArmor( player ) ), height - 2 * border, tocolor( r, g, b, bar_alpha ) ) -- set the nametag below sy = sy + 1.2 * height end -- outer background dxDrawRectangle( sx, sy, width, height, tocolor( 0, 0, 0, bar_alpha ) ) -- get the colors local health = math.min( 100, getElementHealth( player ) ) local r, g, b = 255 - 255 * health / 100, 255 * health / 100, 0 -- inner background, which fills the whole bar but is somewhat transparent dxDrawRectangle( sx + border, sy + border, width - 2 * border, height - 2 * border, tocolor( r, g, b, 0.4 * bar_alpha ) ) -- fill it with the actual health dxDrawRectangle( sx + border, sy + border, math.floor( ( width - 2 * border ) / 100 * health ), height - 2 * border, tocolor( r, g, b, bar_alpha ) ) -- chat icon if the player has one if chaticon then local square = math.ceil( _chatbubble_size * scale ) local sy = sy + square / 1.9 local r, g, b = 255 - 128 * health / 100, 127 + 128 * health / 100, 127 dxDrawImage( cx, sy, square, square, chaticon == true and "chat.png" or "console.png", 0, 0, 0, tocolor( r, g, b, nametag_alpha ) ) end end end end end end end ) addEventHandler( 'onClientResourceStart', getResourceRootElement( ), function( ) for _, player in pairs( getElementsByType( 'player' ) ) do if player ~= localPlayer then -- hide the default nametag setPlayerNametagShowing( player, false ) if isElementStreamedIn( player ) then -- save the player data nametags[ player ] = false end end end end ) addEventHandler( 'onClientResourceStop', getResourceRootElement( ), function( ) -- handle stopping this resource for player in pairs( nametags ) do -- restore the nametag setPlayerNametagShowing( player, true ) -- remove saved data nametags[ player ] = nil end end ) addEventHandler ( 'onClientPlayerJoin', root, function( ) -- hide the nametag setPlayerNametagShowing( source, false ) end ) addEventHandler ( 'onClientElementStreamIn', root, function( ) if source ~= localPlayer and getElementType( source ) == "player" then -- save the player data nametags[ source ] = false triggerServerEvent( "nametags:chatbubble", source ) end end ) addEventHandler ( 'onClientElementStreamOut', root, function( ) if nametags[ source ] then -- cleanup nametags[ source ] = nil end end ) addEventHandler ( 'onClientPlayerQuit', root, function( ) if nametags[ source ] then -- cleanup nametags[ source ] = nil end end ) -- local oldConsoleState = false local oldInputState = false addEventHandler( "onClientRender", root, function( ) local newConsoleState = isConsoleActive( ) if newConsoleState ~= oldConsoleState then triggerServerEvent( "nametags:chatbubble", localPlayer, newConsoleState and 1 or false ) oldConsoleState = newConsoleState else local newInputState = isChatBoxInputActive( ) if newInputState ~= oldInputState then triggerServerEvent( "nametags:chatbubble", localPlayer, newInputState ) oldInputState = newInputState end end end ) addEvent( "nametags:chatbubble", true ) addEventHandler( "nametags:chatbubble", root, function( state ) if nametags[ source ] ~= nil and ( state == true or state == false or state == 1 ) then nametags[ source ] = state end end )
  10. Thanks Orange for this server it's really good, no lag, good pings...love it this is the real deal
  11. Baseplate

    Server update

    Just take all ur resources to MTA 1.3 server folder
  12. Baseplate

    Server update

    are u using Local or hosted?
  13. it was working like that but i stopped working
  14. <acl> <group name="Everyone"> <acl name="Default" /> <object name="user.*" /> <object name="resource.*" /> </group> <group name="Admin"> <acl name="Admin" /> <acl name="Moderator" /> <acl name="RPC" /> <object name="resource.admin" /> <object name="user.mabako" /> <object name="user.Samer" /> </group> <group name="Moderator"> <acl name="Moderator" /> </group> <group name="Console"> <acl name="Admin" /> <acl name="RPC" /> <acl name="Developer" /> <object name="user.Console" /> </group> <group name="RPC"> <acl name="RPC" /> <object name="resource.world" /> </group> <group name="sql"> <acl name="sql" /> <object name="resource.sql" /> </group> <group name="manageAccounts"> <acl name="manageAccounts" /> <acl name="IPandSerial" /> <object name="resource.players" /> </group> <group name="kickban"> <acl name="kickban" /> <acl name="IPandSerial" /> <object name="resource.parasite" /> <object name="resource.players" /> </group> <group name="IPandSerial"> <acl name="IPandSerial" /> <object name="resource.runcode" /> </group> <group name="Developer"> <acl name="Developer" /> <object name="user.mabako" /> <object name="user.Samer" /> </group> <acl name="Default"> <right name="general.ModifyOtherObjects" access="false" /> <right name="general.http" access="false" /> <right name="command.start" access="false" /> <right name="command.startall" access="false" /> <right name="command.stop" access="false" /> <right name="command.stopall" access="false" /> <right name="command.restart" access="false" /> <right name="command.restartall" access="false" /> <right name="command.refresh" access="false" /> <right name="command.refreshall" access="false" /> <right name="command.addaccount" access="false" /> <right name="command.delaccount" access="false" /> <right name="command.debugscript" access="false" /> <right name="command.chgpass" access="false" /> <right name="command.loadmodule" access="false" /> <right name="command.login" access="false" /> <right name="command.logout" access="false" /> <right name="command.upgrade" access="false" /> <right name="command.mute" access="false" /> <right name="command.unmute" access="false" /> <right name="command.kick" access="false" /> <right name="command.ban" access="false" /> <right name="command.banip" access="false" /> <right name="command.unbanip" access="false" /> <right name="command.shutdown" access="false" /> <right name="command.install" access="false" /> <right name="command.aexec" access="false" /> <right name="command.whois" access="false" /> <right name="command.whowas" access="false" /> <right name="command.run" access="false" /> <right name="command.srun" access="false" /> <right name="command.crun" access="false" /> <right name="function.executeCommandHandler" access="false" /> <right name="function.setPlayerMuted" access="false" /> <right name="function.addAccount" access="false" /> <right name="function.addBan" access="false" /> <right name="function.removeBan" access="false" /> <right name="function.removeAccount" access="false" /> <right name="function.setAccountPassword" access="false" /> <right name="function.kickPlayer" access="false" /> <right name="function.banIP" access="false" /> <right name="function.banPlayer" access="false" /> <right name="function.banSerial" access="false" /> <right name="function.getBansXML" access="false" /> <right name="function.unbanIP" access="false" /> <right name="function.unbanSerial" access="false" /> <right name="function.getClientIP" access="false" /> <right name="function.setServerPassword" access="false" /> <right name="function.getServerPassword" access="false" /> <right name="function.callRemote" access="false" /> <right name="function.startResource" access="false" /> <right name="function.stopResource" access="false" /> <right name="function.restartResource" access="false" /> <right name="function.createResource" access="false" /> <right name="function.copyResource" access="false" /> <right name="function.addResourceMap" access="false" /> <right name="function.addResourceConfig" access="false" /> <right name="function.removeResourceFile" access="false" /> <right name="function.setResourceDefaultSetting" access="false" /> <right name="function.removeResourceDefaultSetting" access="false" /> <right name="function.redirectPlayer" access="false" /> <right name="function.aclReload" access="false" /> <right name="function.aclSave" access="false" /> <right name="function.aclCreate" access="false" /> <right name="function.aclDestroy" access="false" /> <right name="function.aclSetRight" access="false" /> <right name="function.aclRemoveRight" access="false" /> <right name="function.aclCreateGroup" access="false" /> <right name="function.aclDestroyGroup" access="false" /> <right name="function.aclGroupAddACL" access="false" /> <right name="function.aclGroupRemoveACL" access="false" /> <right name="function.aclGroupAddObject" access="false" /> <right name="function.aclGroupRemoveObject" access="false" /> <right name="function.mysql_connect" access="false" /> <right name="function.mysql_close" access="false" /> <right name="function.mysql_errno" access="false" /> <right name="function.mysql_error" access="false" /> <right name="function.mysql_ping" access="false" /> <right name="function.mysql_select_db" access="false" /> <right name="function.mysql_escape_string" access="false" /> <right name="function.mysql_affected_rows" access="false" /> <right name="function.mysql_change_user" access="false" /> <right name="function.mysql_get_character_set_info" access="false" /> <right name="function.mysql_get_client_info" access="false" /> <right name="function.mysql_get_client_version" access="false" /> <right name="function.mysql_get_host_info" access="false" /> <right name="function.mysql_get_proto_info" access="false" /> <right name="function.mysql_get_server_info" access="false" /> <right name="function.mysql_get_server_version" access="false" /> <right name="function.mysql_hex_string" access="false" /> <right name="function.mysql_info" access="false" /> <right name="function.mysql_insert_id" access="false" /> <right name="function.mysql_query" access="false" /> <right name="function.mysql_unbuffered_query" access="false" /> <right name="function.mysql_set_character_set" access="false" /> <right name="function.mysql_stat" access="false" /> <right name="function.mysql_warning_count" access="false" /> </acl> <acl name="Moderator"> <right name="command.repairvehicle" access="true" /> <right name="command.repairvehicles" access="true" /> <right name="command.fillvehicle" access="true" /> <right name="command.fillvehicles" access="true" /> <right name="command.respawnvehicle" access="true" /> <right name="command.respawnvehicles" access="true" /> <right name="command.getvehicle" access="true" /> <right name="command.gotovehicle" access="true" /> <right name="command.temporaryvehicle" access="true" /> <right name="command.setskin" access="true" /> <right name="command.get" access="true" /> <right name="command.goto" access="true" /> <right name="command.announce" access="true" /> <right name="command.modchat" access="true" /> <right name="command.createshop" access="true" /> <right name="command.deleteshop" access="true" /> <right name="command.setdropoff" access="true" /> <right name="command.kick" access="true" /> <right name="command.setname" access="true" /> <right name="command.freeze" access="true" /> <right name="command.sethealth" access="true" /> <right name="command.setvehiclecolor" access="true" /> <right name="command.giveitem" access="true" /> <right name="command.freecam" access="true" /> <right name="command.spectate" access="true" /> <right name="command.getpos" access="true" /> <right name="command.toggleooc" access="true" /> <right name="command.staffduty" access="true" /> <right name="command.acceptreport" access="true" /> </acl> <acl name="Admin"> <right name="general.ModifyOtherObjects" access="true" /> <right name="general.http" access="true" /> <right name="command.start" access="true" /> <right name="command.startall" access="true" /> <right name="command.stop" access="true" /> <right name="command.stopall" access="true" /> <right name="command.restart" access="true" /> <right name="command.restartall" access="true" /> <right name="command.refresh" access="true" /> <right name="command.refreshall" access="true" /> <right name="command.addaccount" access="true" /> <right name="command.delaccount" access="true" /> <right name="command.ban" access="true" /> <right name="command.banip" access="true" /> <right name="command.unbanip" access="true" /> <right name="command.shutdown" access="true" /> <right name="command.whois" access="true" /> <right name="command.whowas" access="true" /> <right name="command.createinterior" access="true" /> <right name="command.deleteinterior" access="true" /> <right name="command.setinterior" access="true" /> <right name="command.setinteriorinside" access="true" /> <right name="command.setinteriorname" access="true" /> <right name="command.setinteriorprice" access="true" /> <right name="command.createvehicle" access="true" /> <right name="command.setwindowstinted" access="true" /> <right name="command.setvehiclefaction" access="true" /> <right name="command.reloadpermissions" access="true" /> <right name="command.adminchat" access="true" /> <right name="command.createteleport" access="true" /> <right name="command.deleteteleport" access="true" /> <right name="command.createatm" access="true" /> <right name="command.createbank" access="true" /> <right name="command.deleteatm" access="true" /> <right name="command.deletebank" access="true" /> <right name="command.createfaction" access="true" /> <right name="command.setfaction" access="true" /> <right name="command.setfactionrights" access="true" /> <right name="command.setfactionrank" access="true" /> <right name="command.createtext" access="true" /> <right name="command.deletetext" access="true" /> <right name="command.createfuelpoint" access="true" /> <right name="function.executeCommandHandler" access="true" /> <right name="function.setPlayerMuted" access="true" /> <right name="function.addAccount" access="true" /> <right name="function.addBan" access="true" /> <right name="function.removeBan" access="true" /> <right name="function.removeAccount" access="true" /> <right name="function.setAccountPassword" access="true" /> <right name="function.kickPlayer" access="true" /> <right name="function.banIP" access="true" /> <right name="function.banPlayer" access="true" /> <right name="function.banSerial" access="true" /> <right name="function.getBansXML" access="true" /> <right name="function.unbanIP" access="true" /> <right name="function.unbanSerial" access="true" /> <right name="function.getClientIP" access="true" /> <right name="function.setServerPassword" access="true" /> <right name="function.getServerPassword" access="true" /> <right name="function.callRemote" access="true" /> <right name="function.startResource" access="true" /> <right name="function.stopResource" access="true" /> <right name="function.restartResource" access="true" /> <right name="function.createResource" access="true" /> <right name="function.copyResource" access="true" /> <right name="function.addResourceMap" access="true" /> <right name="function.addResourceConfig" access="true" /> <right name="function.removeResourceFile" access="true" /> <right name="function.setResourceDefaultSetting" access="true" /> <right name="function.removeResourceDefaultSetting" access="true" />
  15. A.Than don't wake up Q.Good Ass u have how u made it
  16. A.I'm preparing my weapons to kill Qaisjp Q.Wbu?
  17. https://community.multitheftauto.com/index.php?p= ... ls&id=3010 Stolen Resource from FWCentral:RPG and it's not his credits and Axel's one
  18. Hmm can we know the error on Debugscript? /debugscript 3
×
×
  • Create New...