Anubhav
Members-
Posts
2,277 -
Joined
-
Last visited
Everything posted by Anubhav
-
[02:10:39] Querying MTA master server... success! (Auto detected IP:37.59.127.21)
-
IP/PORT: 37.59.127.21:22003 SERVER ip is empty.
-
Sorry, but I'll post screenshots soon!
-
How to portward in linux ubuntu? openports Testing ports... Port 22126 UDP is open. Port 22003 UDP is open. Port 22005 TCP is open. but can't connect
-
Many thanks to you CCW. After it finally it gave a error and I fixed them all using wiki! SALUTE!
-
Hello everyone! Did you need a script? I have fixed price for a script which is $2. For a gamemode it might be above 10$. I'm ready to create any normal/half advanced script for you. Some ready-mate scripts: - Heli-drop -> http://i.imgur.com/B1MModX.jpg - Radar buying -> http://i.imgur.com/6MfZ16U.jpg - Mayor system ( Supported for basic roleplay gamemode only ) -> No screenshots for this for now. - Court casing -> I need a map for this. - Job creator -> Coming soon - Vehicle spawner -> Coming soon - login panel -> Coming soon Thank you! Contact me at skype anubhav.agarwal80 or post here!
-
I'm a Ubuntu server user. Whenever I use ./mta-server which exists. It tells it doesn't exist. @
-
You din't define source. See bindKey for more information. See the argument's it passes!
-
Dude it's common sense. The vehicleJump is not defined and not is a function. Replace it with myPlayer + remember to trigger Player!
-
A: I would be epic pro. Q: What if you be arrested?
-
A: I'll never be like him. Q: What if something would broke and you hid it and your MOTHER FINDS IT OUT? What do you think? Why?
-
Sensible question. Maybe in next generation someone is? #logic! Ok i'LL ANSWER It my self: A: I would be a liquid. Q: What if you be a kid like Bilal?
-
i tested it but it give's me a error. attempt to call field 'sort' ( a nil value )
-
Why would you add isObjectInACLGroup in it?
-
Which example are you talking about
-
A: I'd be famous. Q: What if you were pee?
-
edit: see my edited code There is no such thing as destroyObject. It's destroyElement. Here you go . Your wiki is here! note: I just copy pasted.!
-
I told the same thing. Sorry if this is counted as spam. I just told multi-code
-
Are you dreaming boss? Is the first parameter? Idk what's wrong and Player not defined!
-
Never would. function lolTeam(_, weaponid) local theTeam = getTeamName(getPlayerTeam(source)) if theTeam and theTeam == "Team Name" and weaponid == yourWeaponId then toggleControl( source, "fire", true ) else toggleControl( source, "fire", false ) end end addEventHandler("onPlayerWeaponSwitch", root, lolTeam)
-
You need to create a table for this, or (players) will be left undefined. +Your first part has no use in the script. He wanted to just turn off player nametags. FFS are you all mad? He's CODE IS TOTALLY CORRECT. Go learn Bilal! i is defined in the loop already. i = 1, #players do and when it runs it returns i's value so you check the table's index of i value. #logic
-
Boom! Will give out a epic error! function engineSound(Player) playSound("sound directory/sound file.mp3", Player) end addEventHandler("onPlayerVehicleEnter", root, engineSound)
-
--Create teams on resource start function createTeams(source, teamName) staff = createTeam("Admins", 128, 0, 0) end addEventHandler("onResourceStart", getRootElement(), createTeams) --Set admins from ACL to Admin team after logging in function setAdminTeam(thePlayer) local name = getPlayerName(source) if isObjectInACLGroup("user."..getAccountName(getPlayerAccount(source)), aclGetGroup("Admin")) then --check if admin setPlayerTeam(source, staff) --set team outputChatBox("#00FF00Greetings #FF0000"..name.." ! Welcome back.", source, 0, 255, 0, true) --greetings end end addEventHandler("onPlayerLogin", getRootElement(), setAdminTeam)
