-
Posts
4,144 -
Joined
-
Last visited
-
Days Won
1
Everything posted by dzek (varez)
-
oh i see.. you are overwriting default playSound function with your own - you called it playSound. so if you are using playSound in playSound - you got an endless loop. rename your functions also i think you should use stopSound, not setSoundPaused - as you are not unpausing it - which means you are creating new sound everytime you click play. also you should block play if sound is playing (use global variable like: isPlaying or isElement(sound) should be good too)
-
send me full script with mp3 sound.
-
everything. you are messing up client side with server side! get back to tutorial. put this as server side: function afk (playerSource) outputChatBox (getPlayerName(playerSource).. " #9933ffis now Away From Keyboard!", getRootElement(), 255, 255, 255, true) end addCommandHandler("afk", afk)
-
REPORT COMMUNITY CENTER RESOURCES HERE
dzek (varez) replied to SATAN's topic in General MTA discussion
new one: https://community.multitheftauto.com/?p=resources ... e=1&vote=1 copyrighted mp3 -
this is almost 3 years old topic! better dont use this thing cause its probably for DP version of mta or at least outdated. from what i see nobody needs it before, nobody should need it now..
-
your mp3 file is broken (even if winamp plays it correctly anyway)
-
its better to start with easier scripts..
-
so you did nothing. so this is request. blah blah. are you sure you want to check ACL, not TEAM? https://wiki.multitheftauto.com/wiki/Ser ... _functions https://wiki.multitheftauto.com/wiki/Ser ... _functions
-
http://github.com/mabako/mta-paradise i assume you havent tried every server - if you have seen 4 servers with this, there is probably 20-30 of it. why you want to create 31? its better to get your own super great idea, totally different - learn scripting, script it, and kick other servers asses..
-
outputChatBox ( thegangster .. " is the Gangster." ) -- the gangster is player element, not string with his name.. outputChatBox ( getPlayerName(thegangster) .. " is the Gangster." ) -- 2nd problem = same problem.
-
viewtopic.php?f=91&t=27739 or viewtopic.php?f=108&t=22831&start=0 no more gui editors. btw: im not using any
-
but you CAN'T edit "script made by: " or anything like that, because you ARE NOT the author, you just change few things.. if you are painting your car to new color and you are installing new car audio system - it doesnt mean that car is made by you..
-
onPlayerWasted event 1st argument is killer kickPlayer to kick killer
-
setTeamFriendlyFire seems to be broken or something as nobody successfully used it yet .. o_O You can cancal onClientPedDamage but if you are using zombies - it will kick every player that was hit by zombie. You can set clear rule - not to kill each other - and after KILL (not just damage) - kick killer. I dont see any other way. If you are not using zombies - feel free to cancel onClientPedDamage event with cancelEvent()
-
have you installed CORRECTLY newest version of RCG? try to reinstall it. read instructions carefully. ive got some problems with this too. and reupload your image somewhere else, imageshack is slower than anything on the net today and i cant even open this
-
search before posting, it was already asked many times. also read this. also we are not fullfilling requests (i need this, do this for me, i want something plzzzz), but we are here to help. also this is wrong section, topic moved. also i saw you was interested in zombie script - dont use friendly fire with zombies mode - you will be getting random anti-cheat kicks.
-
downgrade your drivers
-
we are not fullfilling requests here, remember that. you need to learn a lot about scripting i think, because only thing you have is the generated gui i see.. you will need: addEventHandler onClientGUIClick triggerServerEvent and on server side: addEvent addEventHandler takePlayerMoney use wiki - https://wiki.multitheftauto.com/ - and its search feature to know more. there is example within every page. also check scripting tutorial if you are new to lua: https://wiki.multitheftauto.com/wiki/Scr ... troduction And i have seen many users with much worse English than yours
-
so this code will return "checkpoint" newmarker = createMarker ( 1000, 1000,1000, "checkpoint", 255, 0, 0 ) icon = getMarkerIcon ( newmarker ) outputChatBox ( "The default marker icon is " .. icon ) ? edit: tested. you are right. please check if it has been already reported - if not report it using http://bugs.mtasa.com/
-
You need to catch every chat message (onPlayerChat event) then make a string.match (more info | even more info) to check if first letter is a "!" and get the rest of the chat input (command and arguments). Hide message with cancelEvent and do your actions based of command and arguments extracted from chat message. Also searching before asking is a good idea, because this was asked so many times already.. Also making command with exclamation mark at the beginning instead of slash is unnatural (from DOS times it's natural to pass arguments after slash!), uncommon (I think only 2-3 servers are using this.. Most players will just get confused) and just weird. And complicates the scripts.
-
it will be great if you attach some simple scripts to reproduce it.
-
REPORT COMMUNITY CENTER RESOURCES HERE
dzek (varez) replied to SATAN's topic in General MTA discussion
https://community.multitheftauto.com/index.php?p= ... ils&id=753 https://community.multitheftauto.com/?p=resources ... ts&id=1088 -
WTF? This is not in English. Nobody can understand you.
-
https://www.youtube.com/results?search_t ... orial&aq=f ?
