-
Posts
6,097 -
Joined
-
Last visited
-
Days Won
218
Everything posted by IIYAMA
-
Hi Ikiller <meta> <info author="Converter: Ikiller" name="skin" type="script" description="Skin" /> <script src="skin.lua" type="client" /> <file src=" [color=#0000FF] X [/color] .txd" /> <file src=" [color=#0000FF]Y[/color] .dff" /> </meta> -- client script> skin.lua function replaceskin() txd = engineLoadTXD("[color=#0000FF]X[/color].txd", SKINNUMBER) engineImportTXD(txd, SKINNUMBER) dff = engineLoadDFF(" [color=#0000FF]Y[/color].dff", SKINNUMBER) engineReplaceModel(dff,SKINNUMBER) end addEventHandler ( "onClientResourceStart", getResourceRootElement(getThisResource()), replaceskin) addCommandHandler ( "reloadskin", replaceskin ) X = name of the .txd file. Y = name of the .dff file. SKINNUMBER = skin you want to replace. Create folder > create two text files and give them the name "meta.xml" and "skin.lua" > put the script in it and replace the "Y", "X" and "SKINNUMBER" > have fun! Greetings Sky
-
outputChatBox('Attention! The Train has arrived to Linden Station! (LV) You have 5 minutes to buy a ticket before the train leaves!',getRootElement(),200,0,0) If your outputchatbox works than you maybe.. Maybe you can try the vehicle handling ? https://wiki.multitheftauto.com/wiki/SetElementVelocity So the train wont be able to give more power and if the train enters the station you can freeze it.
-
showPlayerHudComponent ("money", false)
-
je hebt mods gebruikt in je gta?
-
https://community.multitheftauto.com/index.php?p= ... ils&id=614
-
And no your wrong this script does not work. Because attackers don't exist with weapon 37. see: http://bugs.mtasa.com/view.php?id=4925 For now it s only syncro that can sync that. But I am going to try it on a easy way. Syncro by Bigbadbutler (chaose) https://community.multitheftauto.com/index.php?p= ... ls&id=1065
-
The resource stealth. Parts by: Slothman Resource does not work correctly, I found 3 crussial bugs) - Spectate does not work. Tirgger client side earlyer than it has been loaded(I have tryed to fix it with help of solit) - Skin bug. Sometimes (the skin changed to that one of the enemy O_o strange...) - Rounds ends bevore it has been started. It also does lagg little in my opinion., even if the server does not have much to do. (not fps)
-
I get the feeling this script is stolen....
-
First of all always put a handler... when must this ... script be activated..... Second of all I have never used a return on my script. I always use else... I have no idea why use a return instead of using else. ........ why are you scripting so PRO and so not PRO....... You made that script or you just get it out of another script. I don't get it. BE MORE CLEAR
-
lol I love note +++, but I will try this to
-
well that means your export function does not work very well..... This does not work: local rank12 = exports.race:getPlayerRank( player_Wasted ) So put this script in race folder. Make sure you also change meta there. and use: local rank12 = getPlayerRank( player_Wasted ) Does this not work.... than the rank script of race does not work like that. ... Don't be stuppit to write the operators like that... -- in race folder function bastardDied( player_Wasted ) local rank = getPlayerRank( player_Wasted ) if(rank == 2) then local pointsToDie = 5 local playerPoints = tonumber">tonumber">tonumber ( loadPlayerData( player_Wasted, "points" ) ) savePlayerData( player_Wasted, "points", playerPoints + pointsToDie ) outputChatBox ( "#c0c0c0* #abcdef"..string.gsub(getPlayerName (player_Wasted),"#%x%x%x%x%x%x","").." #c0c0c0has finished this round in second place and got #abcdef5 #c0c0c0points!", root, 255, 255, 255, true ) elseif(rank == 3) then local pointsToDie = 3 local playerPoints = tonumber">tonumber ( loadPlayerData( player_Wasted, "points" ) ) savePlayerData( player_Wasted, "points", playerPoints + pointsToDie ) outputChatBox ( "#c0c0c0* #abcdef"..string.gsub(getPlayerName (player_Wasted),"#%x%x%x%x%x%x","").." #c0c0c0has finished this round in third place and got #abcdef3 #c0c0c0points!", root, 255, 255, 255, true ) elseif(rank > 3 and rank < 31) then local pointsToDie = 1 local playerPoints = tonumber">tonumber">tonumber ( loadPlayerData( player_Wasted, "points" ) ) savePlayerData( player_Wasted, "points", playerPoints - pointsToDie ) outputChatBox ( "#c0c0c0* #abcdefYou died and lost #abcdef1 #c0c0c0point!", player_wasted, 255, 255, 255, true ) end end addEventHandler("onPlayerWasted", getRootElement(), bastardDied)
-
Why don't you check your script first? try this.
-
First shutdown your server. Go to mta folder>server>mods>deathmatch open with notepath> mtaserver.conf Do ctrl + f and look for "fpslimit" or just find the word fpslimit. Between here: (normally 36) You better change this to max 45/50. If you go high there will be some strange bugs. (100 fps = you can't walk with m4, if you is able to make that 100 fps.) Then start your server again.
-
I am stuppit or does he means how to find a damn word in a not path.... maybe you mean the command: ctrl + F ???? (windows) CMD + F (apple... if you have a apple like me I write sometimes my codes at school )
-
well go look for color codes...
-
You want people to become mods and smods, is it not?
-
drake why use that operator? Why not use: elseif(rank > 3 and rank < 31) then -- and elseif(rank > 30 ) then
-
I am blind? I already throwed it of my script... oh not lol.. This script should not need to work in the first place.
-
oh shut the fuck off you didn't even mark the things you changed and also you let the script much to long. I don't get it how somebody from other side can trigger your script. end end addEventHandler("onPlayerWasted", getRootElement(), bastardDied) end end You also need to removed one end.> You removed inpairs
