xXMADEXx
Members-
Posts
2,718 -
Joined
-
Last visited
Everything posted by xXMADEXx
-
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
-
Note: getPlayerWantedLevel() on the client side returns the client's wanted level, not the defined player.
-
You can try to use string.find.
-
Check if the player is in the gang, by using their account name in the argument for the "getAccountGang" exported function.
-
Is this program open-source?
-
Installed all of those, and it's still doing it. http://pastebin.mtasa.com/277594276
-
Kind of off topic, but would it kill to use normal sized font?
-
Why don't you just define a variable with the database connection? local databaseConnection = dbConnect ( args... ) function getDbConnection ( ) return databaseConnection end
-
You should use your language board scripting section, so people will know what you're talking about. viewforum.php?f=117
-
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 )
-
Can't use just use the "aclrequest" command in console?
-
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.
-
Guess thats what happens when you have 1 frame a second
-
Really good video! Good job.
-
Wow, that really looks amazing! Great job! It's a WIP (work in progress) not a REL (release)
-
viewtopic.php?f=91&t=26541
-
Did you set the coordinates the same?
-
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.
-
If scripters want to sell their resources, they can make their own website...
-
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.
-
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
-
You guys should really check the thread post date..
-
It's back online now, if you still need it.
-
I think it's down, it wouldn't work for me either. http://lua-users.org/ is good to though.
