t3wz
Members-
Posts
149 -
Joined
-
Last visited
Everything posted by t3wz
-
--[[ format: { "Message", time (in minutes) }, --]] Messages = { { "Message 1", 2 }, { "Message 2", 5 }, { "another msg", 1 }, { "blablablabla", 20 }, } for _, v in ipairs ( Messages ) do setTimer ( function ( ) outputChatBox ( v[1], root, 255, 255, 255, true ) end , v[2] * 60000, 0 ) end
-
Please use only english in this section. if you want to speak in Portuguese go to this section.
-
Can you tell me how you did it pls ?
-
well, maybe smth like this ? function checkDownload () if not isTransferBoxActive() then triggerServerEvent( "DownLoad",getLocalPlayer() ) else setTimer ( checkDownload, 5 * 1000, 1 ) end end setTimer ( checkDownload, 5 * 1000, 1 ) function onJoin() setElementData ( source, "DownMOD", true ) end addEventHandler("onPlayerJoin",root,onJoin) function onDownloadFinish() setElementData ( client, "DownMOD'", false ) end addEvent("DownLoad",true) addEventHandler("DownLoad",root,onDownloadFinish)
-
This other resource (from the same author of this report ↑) provide other link to download (which contain only ads²) too: https://community.multitheftauto.com/index.php?p=resources&s=details&id=11700
-
https://community.multitheftauto.com/index.php?p=resources&s=details&id=11705 Fake, when you download the script contains only: -- [url=http://tinyfileshost.com/download/288083/YwZDIyN/1]http://tinyfileshost.com/download/288083/YwZDIyN/1[/url] -- [url=http://filespeedy.net/download/288083/ZDZlZ]http://filespeedy.net/download/288083/ZDZlZ[/url] obs: its impossible to download, the site is only ads .-. DONE
-
Oops, Something went wrong! Error: Could not connect to **MY IP**:22005
-
does not work with event onClientRender, Maybe a mta bug ?
-
I'm trying to set the vehicles wheels rotation, i did this script but dont works, why ? Components = { "wheel_rf_dummy", "wheel_lb_dummy", "wheel_rb_dummy", "wheel_lf_dummy" } function testtttqq ( ) if getPedOccupiedVehicle ( localPlayer ) then local veh = getPedOccupiedVehicle ( localPlayer ) for _,v in ipairs ( Components ) do setVehicleComponentRotation ( veh, v, 0, 90, 90 ) end outputChatBox ( "okay" ) else outputChatBox ( "on foot !" ) end end addCommandHandler ( "b", testtttqq, false ) output "okay", but nothing happens with the wheels. sorry my english :c
-
This works when I use this code: setElementData ( getPlayerFromName("Duh"), "class", "Crip" ) Do i have to write all members who is allowed to use this when they are spawned as that class? Yes, but Change getPlayerFromName("Duh").
-
This works when I use this code: setElementData ( getPlayerFromName("Duh"), "class", "Crip" )
-
Try this code, this only open for players with element data "class" = "Crip": a51gate1 = createObject ( 3037, 2360.89, -1272.40, 24.89, 0, 0, 0 ) a51col = createColCircle ( 2360.69, -1271.90, 4 ) function opena51gates(thePlayer) if getElementData(thePlayer, "class") == "Crip" then moveObject (a51gate1, 2000, 2360.89, -1280.59, 24.89 ) end end addEventHandler( "onColShapeHit", a51col, opena51gates ) function closea51gates(thePlayer) if getElementData(thePlayer, "class") == "Crip" then moveObject (a51gate1, 2000, 2360.89, -1272.40, 24.89 ) end end addEventHandler( "onColShapeLeave", a51col, closea51gates )
-
In onColShapeHit and onColShapeLeave the source is the colshape, try Use thePlayer: a51gate1 = createObject ( 3037, 2360.89, -1272.40, 24.89, 0, 0, 0 ) a51col = createColCircle ( 2360.69, -1271.90, 4 ) function opena51gates(thePlayer) if getElementData(thePlayer, "class") ~= "Crip" then moveObject (a51gate1, 2000, 2360.89, -1280.59, 24.89 ) end end addEventHandler( "onColShapeHit", a51col, opena51gates ) function closea51gates(thePlayer) if getElementData(thePlayer, "class") ~= "Crip" then moveObject (a51gate1, 2000, 2360.89, -1272.40, 24.89 ) end end addEventHandler( "onColShapeLeave", a51col, closea51gates )
-
change this: newFont,"left","top" to: newFont,"right","top"
