Assassin-NL
Members-
Posts
27 -
Joined
-
Last visited
Everything posted by Assassin-NL
-
dude you cant just upload maps from other people without their permission
-
function mutePlayer(player,command,victimName) -- if the player has specified a victim name to mute if victimName then -- get the victim player element from their name local victim = getPlayerFromNick(victimName) -- if the player exists if victim then -- if they arent already muted if ( not isPlayerMuted(victim) ) then -- mute them and output a message to the chat setPlayerMuted(victim, true) outputChatBox("You have been muted.",victim) end else outputChatBox("Could not find player with name: "..tostring(victimName),player) end else outputChatBox("Usage: /mute ",player) end end -- add the /mute command addCommandHandler("mute",mutePlayer) how to mute a player for a certain time ?
-
Metal.xml <?xml version="1.0" encoding="utf-16"?> <meta> <info type="map" gamemodes="race" name="[DM]Assassins Warphole" /> <map src="race-[DM]Assassins-Warphole.map" /> <settings> <settings> <setting name="#respawn" value="none" /> </settings> </meta> .Map file <map edf:definitions="race,editor_main"> <"a bunch of object" lol/> <racepickup id="racepickup (Hunter) (1)" type="vehiclechange" vehicle="425" interior="0" posX="-5.5734367370605" posY="-2781.7028808594" posZ="60.260707855225" rotX="0" rotY="0" rotZ="0" /> </map> why does this map dont work ? i tryd everything
-
is trigger a server event for the kicking about the same triggering a server event for banning ? onBan
-
thanks for helping me out also what to replace for kick instead of kill ?
-
i tested it and it doesnt work and i hope you guys can help because i dont know what i did wrong
-
function funcInput ( key, keyState ) afkTime = 60*2 if ( keyState == "up" ) then setTimer(afkgo,afkTime,1) end if ( keyState == "down" ) then afktimer = getTimers ( afkTime) for timerKey, timerafk in ipairs(afktimer) do killTimer ( timerafk ) end end end function afkgo() afkTime =600*2 afktimer = getTimers ( afkTime) for timerKey, timerafk in ipairs(afktimer) do killTimer ( timerafk ) end outputChatBox ( "afk" ) end function bindTheKeys () bindKey ( "forwards", "down", funcInput ) bindKey ( "forwards", "up", funcInput ) bindKey ( "backwards ", "down", funcInput ) bindKey ( "backwards ", "up", funcInput ) bindKey ( "left", "down", funcInput ) bindKey ( "left", "up", funcInput ) bindKey ( "right", "down", funcInput ) bindKey ( "right", "up", funcInput ) end addEventHandler("onClientPlayerSpawn",getLocalPlayer(),bindTheKeys) does this work ? if no how to fix
-
is it possible to edit the driver2/server.lua " https://community.multitheftauto.com/index.php?p= ... ils&id=612 " it sorts teams and it gives players colours. but is it possible to make the cars of the team the same colour as the name? thanks
-
because with my new map maker i have 1000000's of bugs
-
Hello, I know there is a converter to convert maps from the old mta to the new mta, but is there a downgrader that converts maps from the new mta to maps from the old mta ? thanks
-
is it possible to use the same config.xml and edit the server.lua to not change the nick but change the vehicle colour ? thanks
-
driver, the autoteams is in the resource list. but how to set the teams? thanks! Or set members from to a certain team
-
The .rar file is broken. can you reupload ?
-
Just sorting members of a server, i just need to put this in the .lua file of the server ?
-
is it possible to automaticaly put players in a team by name by table getPlayersInTeam ? like: if you have [123] in your name you automaticaly get sorted in the [123] Team ? sorry for my bad english, im dutch. thanks !
-
where in the acl this needs to be putted ?
-
Yeah, i know that. But i already gave it a try, i readed gta wiki, basic tut, lua tut, etc. but still i cant make a simple command line, and i have to do all other kinds of things, and exams, so i hoped somone on mta could help us improving our script.
-
Hello Mta. The [sTM]Server is looking for a good coder for improving our script, if you are a good coder, and you want to help us, PM me or just reply to the threat. Thanks, [sTM]Assassin
-
hi,, im trying to learn the scripting now for 3 days. but my english isnt that good so its hard to read the manual too,, so i want to ask one question here,, if you just want to make one simple command like /hi and then in the chat it sais : Assassin sais hi to everyone! , can somone copy that line? i really learn from that i will not just copy past it, all i want to is learning to be a good scripter i know most things like Lua, and that the command you have to paste into and addCommandHandler("myCommand", myFunction) but can someone just copy that ? i will learn very much off it, thanks
-
hi,, im trying to learn the scripting now for 3 days. but my english isnt that good so its hard to read the manual too,, so i want to ask one question here,, if you just want to make one simple command like /hi and then in the chat it sais : Assassin sais hi to everyone! , can somone copy that line? i really learn from that i will not just copy past it, all i want to is learning to be a good scripter i know most things like Lua, and that the command you have to paste into and addCommandHandler("myCommand", myFunction) but can someone just copy that ? i will learn very much off it, thanks