-
Posts
767 -
Joined
-
Last visited
Everything posted by Xierra
-
You already did it nicely, but the error is: Make sure you use the correct capital letter. It's not "GetPlayerName", but "getPlayerName" (Note that every functions never use capital letters on the front) So the result must be: function playerDied(totalAmmo, killer, killerWeapon, bodypart) local pname = getPlayerName( theplayer ) local pname2 = getPlayerName( killer ) outputChatBox(pname2.. "Has Killed Player" ..pname) end addEventHandler("onPlayerWasted",getRootElement(),playerDied) It's untested. You can try kill someone if you want. To start a map, just write /start and stop it (means removing it from the server) by /stop But first you have to be admin. If you don't know how, look here: https://wiki.multitheftauto.com/wiki/Admin or https://wiki.multitheftauto.com/wiki/Ser ... nistrators Then you can easily start or stop resources. Note: Location of your MTA SA files is C:\Program Files\MTA San Andreas Deathmatch\server\mods If you open in here: C:\Program Files\MTA San Andreas Deathmatch\mods, then it's wrong.
-
This one's a nice map Satan! Your mapping skill is perfect! And always looks good! Anyway, I've posted the BaseMode version of Giza here: http://www.community.multitheftauto.com/index.ht ... ils&id=670 With permission from SATAN to make the second supported gamemode.
-
I also played your custom maps in my MTA SA 1.0.3, They're all unique and nicely placed! Good work, and thanks. I enjoy playing custom maps.
-
Nice work you got there. Now make a new release of MTA:VC! Well sometime I will take one.
-
Nice! It would be good for RP modes. plus DM and Race. (Please note for speed, if you go downhill really fast, what will happen?)
-
If you wanna create a new water, just follow it on the wiki here: https://wiki.multitheftauto.com/wiki/CreateWater I need to learn about x1, x2, x3, y1, y2, etc. I'm also a kid: 13 years old...
-
To register: /register To login : /login They get the nickname automatically.
-
Nice one! That could be good if I want to store my weapon skill, money, stats, etc. I hope you release one! (as before I haven't seen the topic )
-
hey, to help ya, you can use the Batch converter, download here: http://files.mtasa.com/apps/1.0/raceconv.zip Just locate your MTA Race map folder and then you can put it on any folder (as it said 1.0 resources, better you locate it on a new folder anywhere you want.)
-
Sure man. I wanted to edit TDM or BaseMode to implement bots, to fell like you're playing with friends, but actually only one person, like CS bots. Maybe when I have free time I could do it. , I just need to learn more, that's all!
-
Ow, so using setPlayerMoney by adding or decreasing it cause bugs right? So the: function(player,comd) is a function parameter (inside the bracket)? COOKIE doesn't have "source" on the parameter.
-
I think you could give us the code first? It needs variables.
-
Hmm, why not try this way? addCommandHandler("roll", function(player,comd) local roll = math.random(1,6) if roll == 1 then outputChatBox("u won", player) -- no player was specified, message'd be shown to all elseif roll == 2 then outputChatBox("u lost blablabla", player) elseif roll == 3 then setPlayerMuted(player, true) -- as i recall, "source" is not passed by command handler, use "player", but i may be wrong setTimer(setPlayerMuted, 30000, 1, player, false) -- what's more, setTimer parameters were messed up, 30000 executions with 1ms interval. elseif roll == 4 then outputChatBox("You win!", player) elseif roll == 5 then setPlayerMoney( source, +3500 ) --Add $3500 to the money you have. elseif roll == 6 then setPlayerMoney( source, -4500 ) --Reduce $4500 from the money amount you have. end end ) If this still doesn't work, try changing 5 and 6 to: elseif roll == 5 then setPlayerMoney(player, +3500) elseif roll== 6 then takePlayerMoney(player, -4500) The way to put codes is by: [lua]inside it is code, then end it with "/" in front of "lua"
-
I don't mean that, the space for the garage is the problem.
-
In the past, I played MTA: Race. It was great! But I didn't look at the website and the DM version yet. I'm off for a while, then I play SA-MP. But bugs, lags (very late sync) and late streaming (because of ping) made me frustrated, then played original GTA SA by modding it. After a long time, I looked at MTA Race again, but server was empty... So I checked with Youtube "MTA SA" (by accident), I saw that there is actually a DM version (which is DP2), which I suddenly get impressed with it. But, looks buggy, and I named that as "MTA SA". Because I was kicked by most servers (because of ping) and still buggy, so I moved to SA-MP again. Hearing one of the map topic on SA-MP, I heard he used MTA SA. I said: "huh, how can he use that map editor? looks different...", so I checked MTA SA website once. And I realized there is 1.0 Version, which in case, suddenly get enjoyed after meeting with the race again (also by looking 1.0 trailer). Since then, I throw away all my ping frustrations from SA-MP. Then started the career on MTA SA till now. I was first looking for an alternative, then heard about it. So there is 2 reasons why I moved to MTA SA.
-
No you can't do that yet. It's only suitable on that place. No where else.
-
Wow Thanks a lot fedor_s! Let's dance together, woo hoo! And, maybe I post these in the community, with Talidan as the author.
-
If the resource folder was empty, put all what inside "Resources" file there. I don't understand russian
-
Yeah, but I just want 2 things: 1. The Dance 2. And Sth-aztec (or maybe aztez)
-
Sorry for bump. Anyway, when you will release the script? I really want it!
-
The andromada version doesn't work. Anyway, nice idea for making this kind of resource. It's really great for something like police pursuits, which uses helicopter and drop barrels like in NFS Hot Pursuit 2. Like in this video and scroll to 06:45 (just play and see till the end). And a 2 kabooms on 08:05 and 08:46, this guy's unbelievably crazy! He still not stopping the car and kept on going!!
-
I really liked the first one. Simply amazing! Can you release the map please??
-
Woo #1 DM Gamemode is still developing! How you've been doing Rhbk? I want to change the choose team sound and the screen, like in PCP gang server. And what's that on the promo screen?
-
Hmm okay then. Since MTA bots are 3x better (+shooting and targeting capability), I'm sure SA-MP bots are knocked out for good. To all newbies: Here's the simple example of creating a bot which will chase and kill the creator of the bot (bots can also shoot each other too sometimes) with a command "spawnbot" bot.lua (Server-side): function Spawnbot1 (source) local x,y,z = getElementPosition (source) local rot= 90 local skin=220 local interior=0 local dimension= 0 local team=false local weapon=26 local mode= "chasing" local modesubject=source call (getResourceFromName("slothbot"), "spawnBot", x, y+5, z, rot, skin, interior, dimension, team, weapon, mode, modesubject) call (getResourceFromName("slothbot"), "spawnBot", x, y+7, z, rot, skin-9, interior, dimension, team, weapon+2, mode, modesubject) end addCommandHandler("spawnbot", Spawnbot1) call is a function to take functions from other resources. Slothbot uses one of these. Wiki: https://wiki.multitheftauto.com/wiki/Call And don't forget about the Meta.xml that you need to export the function! <meta> <info type="script" author="XX3" Version="1.0" name="Simple bot script" /> <script src="bot.lua" type="server" /> -- The bot script file <export function="spawnBot" type="server"/> --This is the function you want to export meta>
-
Yeah that really rocked the bot system, SA-MP can't do that yet! Bot scripting Capabilities score graph (not that perfect ): 5| - 4| - 3| - - 2| - - 1| - - MTA Bots SA-MP bots Hey actually I sucessfully created a bot already. Thanks Sid the Sloth(man)! You rock!
