
[Ska]Vladmo
Members-
Posts
66 -
Joined
-
Last visited
Everything posted by [Ska]Vladmo
-
Yes! Please do so! That would be very thoughtful of you, me and my friends like traveling though the freeway and it would be way more fun with fuel! If this is what your talking about? Edit: Also please don't go off topic, post in my fuel topic.
-
Take a look on wiki (the link I posted above) and see how they're found whether they are the vehicles you don't want to be used. Just do the same in the command. 1st. check if the vehicle is in the table (which you have to create, shown in the example) 2nd. if the id is in the table, output text saying that vehicle is "banned" 3rd. if there is no id in the table, createVehicle... I could probaly change it a little, but how would I change this: addEventHandler ( "onVehicleStartEnter", getRootElement(), enterVehicle ) --add an event for onPlayerEnterVehicle To when you type that command it cancels the event?
-
I know you can't just say open seasame in the chatbox and it will open.... I was saying an example, and he can do whatever he wants with his answers. Edit: and I said it has already been created, if other people can do it, I can too.
-
I took a look at the hay code and all they had was the random x y z, I want it to tell where I want it to go, just like a gate like this: |------------||------------| |------------||------------| |------------||------------| Then it opens like this: |------| <<<<<<< >>>>>>> |------| |------| <<<<<<< >>>>>>> |------| |------| <<<<<<< >>>>>>> |------| vv |---| <<<<<<< >>>>>>> |---| |---| <<<<<<< >>>>>>> |---| |---| <<<<<<< >>>>>>> |---| That's how I seen it, and when you type a command it opens like that, still need more help, and yes I did take a look at moveObject and createObject, I will double check.
-
That didn't really help me because they didn't explain, could anyone else explain this to me how to do this?
-
OK, on WCFR (West Coast FreeRoam) theres a area51 and you can use commands to open the gates, like the gates open likeyou say open seasame, how would you do this? How do you create objects and how do you make it animate like that?
-
No, I meant when you spawn a vehicle with the /vehicle command something like this on the chat box would say: Vehicle name - Banned vehicle, could not spawn! or Banned vehicle - could not spawn
-
Thanks, I fixed my problem, I have no idea what I was doing in ACL
-
OK, I see this on a lot of servers, how do I get that interface screen at the right bottom screen where the red bar shows vehicle damage and the green bar is mph, Thanks in advanced. Edit: I looked at wiki and the forums, can't find anything.
-
Sorry forgot that I was lazy.
-
May any of you just give me a simple /color command, like /color 0 0 0 0 or /color 0 0, depends what vehicle it is, kthxby
-
Ok, I have been trying to figure out this for a week now, what's the matter with my server? Ok, every time someone logs into my server it says: WARNING: admin_server.lua: Access denied @ 'callRemote' - Line: 227 Ok, now after that I tried to register and it didn't work, when I log in with /login it works but that's because I had a registered account before that started. And I forget the first thing I did right before that started. Well Ok, so I go check out line 227 in admin_server.lua and it says: callRemote ( "http://mtabeta.com/mta/verify.php", aPlayerSerialCheck, player, getPlayerUserName ( player ), getPlayerSerial ( player ) ) Could someone please tell me whats wrong, when I run another server I didn't edit before it's fine but the one I had before this happens, please reply asap.
-
I'm not saying this will work but try this..... Replace addEventHandler ( "onVehicleEnter", getRootElement(), playerExpel ) with this: addCommandHandler ( "unpark", playerExpel ) And something to add so no one can destroy it when its parked add this with your vehicle park functions: setVehicleDamageProof ( theVehicle, true ) Then add this one on your vehicle started function: setVehicleDamageProof ( theVehicle, false )
-
Could I make it addEventHandler("onGamemodeMapStart", getRootElement(), idleRespawn ) function idleRespawn () for i,vehicle in ipairs(getElementsByType("vehicle")) do setVehicleIdleRespawnDelay(vehicle, 20000) end end
-
Here is an example: theVehicle = createVehicle ( 400, 1, 1, 1 ) -- create us a new vehicle if ( theVehicle ) then setVehicleIdleRespawnDelay ( theVehicle, 20000 ) -- tell the server to respawn the vehicle 20 seconds after it's been left. end How would I make it so it respawns the vehicle because someone has left it and it has been idle and it respawns after 20 seconds for the .map file vehicles? Thanks in advance
-
You mean like?: createTeam ( "Admins", 255, 255, 0 )
-
How would I be able to make vehicle gas on my server? I never thought it was possible until I seen it on other servers, I would really love it if someone can tell me or give me a script.
-
<map src="filename.map" /> RIght click your meta.xml and click edit then put that code line above with your other lines.
-
Turn the mode on? Lol Omg, dude i mean to load an .map file -.- What's the mapfile name?
-
Yae but then the vehicles that are already in - game (not spawned) blow up and they never come back, that's what I am trying to say. Are you saying your vehicles (from .map or created when resource starts) explode & never respawn (but should respawn) and the vehicles created using command explode & respawn (but should not respawn)? What I understand from the first post is: You vehicles spawned by the spawn point respawn after explosion and vehicles created using command respawn too (which should not). Is that what you want? You want vehicles created by players (using command) to never appear after they explode but vehicles created with resource to respawn normally? Yea I want the .map file of the vehicles to respawn when they blow up but people who spawn vehicles with the /vehicle command when they blow up they don't respawn because I'll have people clean up the spawned vehicles in the server so the server is not clogged up.
-
Thanks it worked.
-
Turn the mode on? Lol
-
Alright I found a bug now, if the person drowns or commites suicide or theres no killer, the person who died gets the money, if you know how to fix this much appreciated!
-
Yae but then the vehicles that are already in - game (not spawned) blow up and they never come back, that's what I am trying to say.