Mike269
Members-
Posts
218 -
Joined
-
Last visited
Everything posted by Mike269
-
hello guys is there any script to add object while playing like /addobject ID like https://community.multitheftauto.com/ind ... ils&id=614 But I don't want gatemaker I want to have kind a ingame editor , editor while im playing. thanks
-
Ohhh, hahah thank you
-
Hello world, I'm using this script: https://community.multitheftauto.com/in ... ls&id=5606 and I want to add more turfs, how could I add them? local pCuboid1 = createColCuboid(2133.1950683594, 633.66455078125, 10, 197.5, 92, 30) -- Could you explain me those numbers? local pArea1 = createRadarArea( 2130, 630, 200, 100, 255, 255, 255, 125 ) -- Could you explain me those numbers? Thanks much!
-
local v = createVehicle ( vehicles [ i ] [ 1 ], vehicles [ i ] [ 2 ], vehicles [ i ] [ 3 ], vehicles [ i ] [ 4 ] ) What's wrong there ? debug: https://fbcdn-sphotos-h-a.akamaihd.net/ ... 2543e26caa
-
oh its that local v = createVehicle ( vehicles [ i ] [ 1 ], vehicles [ i ] [ 2 ], vehicles [ i ] [ 3 ], vehicles [ i ] [ 4 ] )
-
outputChatBox ( "Welcome to the vehicle of '".. getTeamName ( team ) .."'",
-
another debug: ERROR: vkmc\vkmc.lua:13: attempt to index field '?' (a nil value) Whats wrong there?
-
addEventHandler ( "onVehicleStartEnter", root, function ( thePlayer ) -- we should first check if it's a private vehicle. if ( vehicleTable [ source ] ) then -- if it's a private vehicle, get the player's team. local team = getPlayerTeam ( thePlayer ) -- if the player has a team, continue. Else, stop the function and avoid the player from entering the vehicle. if ( team ) then -- the player has a team, we should check if it's the right team! if ( team == getTeamFromName ( "Violet Killers MC" ) -- the team from the player matches the required team, he can enter now! outputChatBox ( "Welcome to the vehicle of '".. getTeamName ( team ) .."'", thePlayer, 0, 255, 0, true ) else -- the player is not in the right team, so cancel the event again! outputChatBox ( "This is a private vehicle, you can't enter it.", thePlayer, 255, 0, 0, true ) cancelEvent() end else outputChatBox ( "This is a private vehicle, you can't enter it.", thePlayer, 255, 0, 0, true ) cancelEvent() end end end ) Guys whats wrong here? Can anyone tell me debugscript says: https://fbcdn-sphotos-h-a.akamaihd.net/ ... 2543e26caa
-
So I must make script like that? local vehicleTable = {} table.insert ( vehicleTable, createVehicle ( model, x, y, z ) ) table.insert ( vehicleTable, createVehicle ( model, x, y, z ) ) table.insert ( vehicleTable, createVehicle ( model, x, y, z ) ) table.insert ( vehicleTable, createVehicle ( model, x, y, z ) ) function privateCar (thePlayer) if source == veh then local playerTeam = getPlayerTeam ( thePlayer ) local Clann = getTeamFromName ( "Your Team name" ) if ( playerTeam ) == Clann then outputChatBox ( "Welcome to your private car.", thePlayer, 0, 255, 0 ) else cancelEvent () outputChatBox ( "This this a private car.", thePlayer, 255, 0, 0 ) end end end addEventHandler ( "onVehicleStartEnter", root,privateCar )
-
I don't understand that dude lol , I'm not scripter im trying to learn but it's so hard could u show me?
-
please show me how to make table im noob
-
So I must place new cars Oo I just place a lot of them with editor lol + what means those numbers: ( 519, 0, 0, 3)
-
Hi everyone I'm trying all day to make vehicles that I made with Editor to lock them only for my team is anyone ready to help me via skype or better, if he can connect to my server? IP: 89.142.237.253 Password: 1993 Skype: simonos2000 Thanks very much!
-
can u give me example how direct links looks like? And where I can get them
-
Hello guys, script works fine and all but where I can get right links to start sound on speaker? This link not working: Script: https://community.multitheftauto.com/in ... ls&id=7330
-
thanks much but I want to add new turfs local pCuboid1 = createColCuboid(2133.1950683594, 633.66455078125, 10, 197.5, 92, 30) local pArea1 = createRadarArea( 2130, 630, 200, 100, 255, 255, 255, 125 ) Can you explain me how I can add new turfs?
-
Hello everyone where in this script can I change how much time you must stand in turf to turf it ? server.lua: client.lua
-
Still don't know how to make vehicles for team
-
I'm searching for good wanted system when u hit player or shoot him u get a star (1 wanted level) I was searching for it but can't find it.. Thanks
-
Hello, how can I make script working only for admin? Example: You can fly only if you are admin etc...