Norhy
Members-
Posts
125 -
Joined
-
Last visited
Everything posted by Norhy
-
Hmm. Good. Could someone please send me some tutorials how to begin to script in LUA ??
-
Hello guys. I've been switching between Pawno and LUA. I like pawno, because it's easier and faster to learn. But LUA has more functions and MTA also. I play MTA a bit more, and SA-MP isn't that good. I've been using Pawno since 2 Months and LUA since 1 Month. It seems for me that LUA is harder to learn, but more effective. Now, i cannot decide, which to learn. Please help me.
-
Hello. I want to ask if somebody know, what's the name of the Classic DM resource, that will show teams on your screen you can join. So for example, the Ballas team.
-
Hi, when i replace some weapons with other models, they don't replace. It always only replace the M4 model. Here's M4 script: function replaceWeapon ( ) txd = engineLoadTXD ( "weapons/m4.txd" ) engineImportTXD ( txd, 356 ) dff = engineLoadDFF ( "weapons/M4.dff", 356 ) engineReplaceModel ( dff, 356 ) end addEventHandler ( "onClientResourceStart", resourceRoot, replaceWeapon ) And here's a Desert Eagle script: function replaceWeapon ( ) txd = engineLoadTXD ( "weapons/desert_eagle.txd" ) engineImportTXD ( txd, 24 ) dff = engineLoadDFF ( "weapons/desert_eagle.dff", 24 ) engineReplaceModel ( dff, 24 ) end addEventHandler ( "onClientResourceStart", resourceRoot, replaceWeapon ) I make them once, so i make 1 lua file, save it, and again. They are all in a File together with the model replacements.
-
Castillo, look at this. I get no errors, and the message i typed appears everytime, but the Skin doesn't load. My script: outputChatBox ( "> replacing the Carl Johnson skin with the Stormtrooper skin" ) txd = engineLoadTXD ( "stormtrooper.txd" ) engineImportTXD ( txd, 0 ) dff = engineLoadDFF ( "stormtrooper.dff", 0 ) engineReplaceModel ( dff, 0 ) Here's my meta.xml: type">type="script" name="Messages" author="Ahoj" version="1"> Name of the skins are stormtrooper.txd and stormtrooper.dff, both are placed in the "trooper" file.
-
Sweet, you copied my Monitor
-
Hello. I got 2 Questions, hope you can help me. • 1. Is it possible to Change the Texture of a Weapon Bullet. For example a Bullet of M4. Can i change it to a Laser bullet like in Star Wars? • 2. Is it possible to attach a Laser to a Sword? (2. Question fixed, just had to replace the old katana with a Light saber texture.
-
You mean.. e.g: You have a Army class in the Spawn menu and a Collum in the Scoreboard which name's "Class". So, you want that the name of the class ("Army") appear in that collum?..
-
Hello. I want a Fix and Nos command for my race server. So a player type /fix and his car will be fixed and /nos that adds Nitro to his car. Could please post a script here? And. How to make random message that appear every 2 Minutes?
-
Lol, i copied this: addEventHandler ( "onPlayerCommand", function ( command ) if ( command == "ban" ) then if ( string.lower(getPlayerName(source)) ~= "draken" ) then outputChatBox ( ":O off bitch!", source, 255, 0, 0, false ) end end end ) Instead of the right one But working, ty for your help. You helped me many times.
-
Hi. I want to create a Marker teleport. Like.. I have placed a Arrow marker near a gate in Area 69, and when i enter it i should be teleported to the other side of the gate. But, it doesn't teleport me, but the Marker.. local myMarker = createMarker(285.62497, 1820.85889, 19.00000, 'arrow', 2.0, 255, 255, 0, 150) function MarkerHit( hitElement, matchingDimension ) setElementPosition ( source, 287.85568, 1820.85620, 17.64063 ) end addEventHandler( "onMarkerHit", myMarker, MarkerHit )
-
Hi guys. I hope here are some guys from Slovakia or Czech rep. cuz i want to start a Clan with my cousin.. We recruit Slovak and Czech speaking people. We got a Website already, you need to apply as well. If you want to join and apply, PM Me and i will send you the URL Adress.. We're also going to Start a own Server, which will be created 6. 3. 2012. I have created some own Scripts, so i don't copied everything, just a Stats system cuz it's advanced to make it for me . Well, if you want to join PM me, i'm online everyday. We are a Racing clan, we are beginning so we aren't very popular yet. We just hope that we will grow. PS: We are a racing gang, don't forget that. Slovakian and Czech speaking people only! Bye.
-
Hi. As i said in ALL topics, posts, i'm going to make a race server. Well, i've been playing on many Race server. The race server is going to be Slovakian/Czech, so all scripts i'm scripting are in Slovakian / Czech language. 1. I need a Stats script, i think it able to download somewhere cuz every Race server got it. I've searched on the Mods and Resources site of MTA SA, didn't found something interesant . Can someone please post a link or a script for Stats? 2. Hello.
-
I'm here, again . So, i'm going to open a new Race server, and i wanted to created a Vehicle color changer. I will explain.. So i created a Team, everyone in the team is Admin, so the resource check if everyone is admin, then it will set the player's who's in the Team and admin a Green color (86). ON the VEHICLE. function setAdminVehicleColor() if isObjectInACLGroup("user."..getAccountName(getPlayerAccount(source)), aclGetGroup("Admin")) then setVehicleColor ( theVehicle, 86, 86, 86, 86 ) end end addEventHandler("onPlayerLogin",getRootElement(),setAdminVehicleColor) Well, it isn't working.. Some help? PS: Is there a function that will check if you are in the Team.. Not if you are a Admin?
-
Hmm, i know why. I use Notepad++ and i think it save the file wrong.. Sorry
-
http://www.mediafire.com/?s7al3ze9557wl53
-
Still not working, could you test if it's working for you? Maybe there's something wrong with my PC..
-
It does suck to say, but it doesn't worked
-
Didn't worked, still doing the same thing.