-
Posts
197 -
Joined
-
Last visited
Everything posted by Taalasmaa
-
[HELP] Looking for a gate that opens Script Codes
Taalasmaa replied to NotAvailable's topic in Scripting
hmm... i got no errors id changed but when i do the command: /openmodgate the gate does not move? Heres the code: function createTheGate () myGate = createObject ( object (airportgate) (1), 1485.0126953125, -2474.8330078125, 15.328079223633 ) -- This isnt ID end addEventHandler ( "onResourceStart", getResourceRootElement ( getThisResource () ), createTheGate ) function openMyGate ( ) moveObject ( myGate, 3000, 1473.4616699219, -2475.0349121094, 15.328079223633 ) setTimer ( movingMyGateBack, 5000, 1 ) end addCommandHandler("openmodgate",openMyGate) function movingMyGateBack () moveObject ( myGate, 4000, 1485.0126953125, -2474.8330078125, 15.328079223633 ) end WTF? object (airportgate) (1) this is far away from ID! You need to put object ID into it EXAMPLE: <object id="object (ws_apgate) (1)" model="988" interior="0" dimension="0" posX="2304.0385742188" posY="-16.302129745483" posZ="25.484375" rotX="0" rotY="0" rotZ="90" /> -- in map file the ID is model so in this case 988 -- That is the ID! So it should be like myGate = createObject ( 988, 1485.0126953125, -2474.8330078125, 15.328079223633 ) -- this is right ID -- If i use object id 988 you can change that 988 to your own ID -- -
Yeah, would be pretty good. How about car color function too ?
-
Raulrobi.... He's allowed to use these scripts.. You've posted them for a public.. But COOKIE12 should learn something by himself.
-
Seriously, somebody need to ban the COOKIE12...
-
Yes, COOKIE12 IS LIAR, STEALER, FAKE /voteban COOKIE12
-
Hey, I just finished Vehicle Panel and I decided to release it! FEATURES: Very graphical GUI with hover effects. Admin panel style spawn car function (Press arrow, grid pop-ups etc) You can toggle vehicle lights, engine or locks with this panel. I made Disallowed Vehicle function too. You can add disallowed vehicle ID's in vehiclepanel_s.lua file. Just : disallowedVehicle = {{425},{432}} put your own ID's to that and script does rest. Can be used in any gamemode, just a little script Hope you like it and Please give comments, and ideas what you like to see in new versions ! DOWNLOAD: https://community.multitheftauto.com/index.php?p=resources&s=details&id=706 IMAGES: [/img] [/img]
-
[HELP] Looking for a gate that opens Script Codes
Taalasmaa replied to NotAvailable's topic in Scripting
function createTheGate () myGate = createObject ( MyObjectID, myGateX, MyGateY, MyGateZ ) end addEventHandler ( "onResourceStart", getResourceRootElement ( getThisResource () ), createTheGate ) function openMyGate ( ) moveObject ( myGate, 3000, NEWX, NEWY, NEWZ ) setTimer ( movingMyGateBack, 5000, 1 ) end addCommandHandler("openmodgate",openMyGate) function movingMyGateBack () moveObject ( myGate, 3000, myGateX, MyGateY, MyGateZ ) end Here, this should work. put to myGateX,myGateY,MyGateZ Your gate coords. and to newX,newY,newZ your gate position what it should be when it is open. Regards Taalasmaa -
[HELP] Looking for a gate that opens Script Codes
Taalasmaa replied to NotAvailable's topic in Scripting
You want it to open with a command or with a marker hit? -
-- func -- time -- repeat -- money setTimer ( PayDay, 3000, 1, 3000 ) function payDay(money) local players = getElementsByType ( "player" ) for theKey,thePlayer in ipairs(players) do givePlayerMoney(thePlayer, tonumber(money)) outputChatBox("It's your payday, you've received 3000$",thePlayer,255,255,0) end end should work
-
I tried to contact you with the pm, but you don't response.
-
I would like find a script : auto-kick AFK
Taalasmaa replied to innovation gaming's topic in Scripting
I'd better stay silent now, as I'm tired of flaming with you Agreed varez. -
Ok, im not going to fight or post to this topic anymore. I dont want to spam this topic. But I got some proofs HERE you posted a stolen script https://forum.multitheftauto.com/viewtopic.php?f=91&t=27383 Here: HERE: Here's some proofs about your "steals" And, these were first five topics what i even looked, im too lazy to get more "proof" about you. I don't want to be bad for you or something, but you just need to do something by yourself and to no copy scripts what other users made.
-
Omg.. This COOKIE12 man is just copying every single script from every single topic and he always say "doesnt work" Cookie12, cmon learn something. http://www.wiki.multitheftauto.com
-
Oh yeh.
-
Hello, MTA community.. I've few servers in MTA or actually im scripting them for gamenet.fi and I got RPG Project. I decided to open sites for RPG project which can be found from http://www.GameNetRPG.com. What do you think about sites, designs etc?? Give comment etc. And btw. Sites not finished yet Regards Taalasmaa
-
This is awesome resource.. More than awesome
-
but, xx3, if he's using "opening" door? ;p
-
Bump** Any help ?
-
Thank you, fedor!
-
Very nice design, i love it
-
Vice city and san andreas ofc