Jump to content

xXMADEXx

Members
  • Posts

    2,718
  • Joined

  • Last visited

Everything posted by xXMADEXx

  1. Try this local guntable = { [23]=true, [30]=true, [32]=true, [20]=true, [9]=true } function weaponDisable(preSlot) local weapon = getPedWeapon(localPlayer) if not guntable[weapon] then setPedWeaponSlot(localPlayer,preSlot) end end addEventHandler ("onClientPlayerWeaponSwitch",localPlayer, weaponDisable) --only trigger this event for local player
  2. Note: getPlayerWantedLevel() on the client side returns the client's wanted level, not the defined player.
  3. Check if the player is in the gang, by using their account name in the argument for the "getAccountGang" exported function.
  4. Installed all of those, and it's still doing it. http://pastebin.mtasa.com/277594276
  5. Kind of off topic, but would it kill to use normal sized font?
  6. Why don't you just define a variable with the database connection? local databaseConnection = dbConnect ( args... ) function getDbConnection ( ) return databaseConnection end
  7. You should use your language board scripting section, so people will know what you're talking about. viewforum.php?f=117
  8. On line 4 (of the marker hit) you forgot to put the first " for the string in the sendClientMessage function. I also fixed bugs with the timers. addEventHandler("onMarkerHit", gangsterMarker, function (player,interior,dimension) if not isPlayerInTeam(player,"Police" ) and ( not isPlayerInTeam ( player, "Medic" ) ) then exports [ "TopBarChat" ] : sendClientMessage ( "the mission Coming Soon", player, 255, 0, 0, true ) setElementInterior ( player, 5, 1300.1059570313, -792.5771484375, 1085.00778125 ) setElementDimension ( player, 5 ) setElementFrozen ( player, true ) setTimer ( function( player ) exports [ "TopBarChat" ] : sendClientMessage ( "the mission Started !!!", player, 255, 0, 0, true ) setElementFrozen( player,false) end, 5000, 1, player ) elseif isPlayerInTeam(player,"Police") then exports [ "TopBarChat" ] : sendClientMessage ( "You are a Police, you can't enter here", player, 0, 0, 255, true ) elseif isPlayerInTeam(player,"Medic") then exports [ "TopBarChat" ] : sendClientMessage ( "the mission Coming Soon", player, 0, 155, 255, true ) setElementInterior ( player, 5, 1300.1059570313, -792.5771484375, 1085.00778125 ) setElementDimension ( player, 5 ) setElementFrozen ( player, true ) setTimer ( function( player ) setElementFrozen( player,false) end, 5000, 1, player ) end end )
  9. Can't use just use the "aclrequest" command in console?
  10. I'm kind of curious to know how big the download is.. You used a lot of custom textures & models lol. Anyway, seems really cool... I'll be sure to take a visit.
  11. Guess thats what happens when you have 1 frame a second
  12. You mean loadstring?
  13. Wow, that really looks amazing! Great job! It's a WIP (work in progress) not a REL (release)
  14. viewtopic.php?f=91&t=26541
  15. Did you set the coordinates the same?
  16. This might be good on a race server, I know a lot of race users wanted me to make an argument to output it to the bottom.
  17. xXMADEXx

    MTA Store

    If scripters want to sell their resources, they can make their own website...
  18. It would be basically pointless to put it into the useful functions page, because it can be done with a simple for loop, besides, there is no way it could work exactly how the user wants it if the gridlist has multiple columns.
  19. Hello. Whenever I'm playing MTA, it will just randomly show a black screen, and show the loading resources icon... Not sure why http://pastebin.mtasa.com/268918259
  20. You guys should really check the thread post date..
  21. It's back online now, if you still need it.
  22. I think it's down, it wouldn't work for me either. http://lua-users.org/ is good to though.
×
×
  • Create New...