-
Posts
2,947 -
Joined
-
Last visited
Everything posted by JR10
-
That is so messed up. local BodyguardMarker = createMarker( -2765.46118, 368.87973, 5.17000, 'cylinder', 2.0, 255, 0, 0, 150) local BodyguardTeam = createTeam ( "Bodyguard", 47, 79, 79 ) function MarkerHit( hitElement, matchingDimension ) if getElementType( hitElement ) == "player" then setPlayerTeam(hitElement, BodyguardTeam) end end addEventHandler( "onMarkerHit", BodyguardMarker, MarkerHit )
-
You already have the money under the health bar. Sorry, but this is not really useful.
-
Server: addEvent("destroyVehicle",true) addEventHandler("destroyVehicle",root,function(vehicle) destroyElement(vehicle) end) Client: function destroyVeh() local theVehicle = getPedOccupiedVehicle (localPlayer) if (theVehicle) then triggerServerEvent("destroyVehicle",localPlayer,theVehicle) outputChatBox("Your vehicle has been destroyed.", 0, 255, 0) guiSetVisible(window, false) showCursor(false) else outputChatBox("You aren't in a vehicle.", 255, 0, 0) guiSetVisible(window, false) showCursor(false) end end addEventHandler("onClientGUIClick", destroyButton, destroyVeh, false)
-
تظهر؟ "Your vehicle has been destroyed." هل الرسالة
-
Lol'ed. فى نفس الوقت, مش حتشتغل خالص unbindKey و bindKey أنت بتعمل
-
هل الرسالة تظهر؟ ؟/debugscript 3 أى رسائل فى
-
أنا من مصر, بس كنت عايش بالخارج
-
PingTable = { } function PingCheck(source) if (getPlayerPing(sourcer) > tonumber(get("MaxPing"))) then kickPlayer(ThePlayer, "High Ping") else outputConsle( ThePlayer.. "Has passed the ping check") end end function onPlayerJoinGame() table.insert(PingTable ,setTimer(PingCheck, tonumber(get("Delay")), 1 , source) ) end addEventHandler("onPlayerJoin", getRootElement(), onPlayerJoinGame)
-
Just type in search the new page title and click search, if it exists it will show you the page's link, if it doesn't, it will show you "Create this page".
-
Ah damn, well it's a good thing I posted a how to, so it's kinda a tutorial. Oh and thanks Xeno.
-
Text-To-Speech I don't know if there is something similar released, it's a really simple script, just releasing so you could know how to do it. The resource allows you use exported function, textToSpeech, to output a speech. Usage: --SERVER SIDE: exports["t2speech"]:textToSpeech ( text , [ toWho = root ] ) --CLIENT SIDE: exports["t2speech"]:textToSpeech ( text ) Download Just want to know how? Here: playSound ( "http://translate.google.com/translate_tts?q=TEXT TO SPEECH" )
-
serverFFS is really bad, I've a webhost there, the control panel is alot down, tons of bugs. Join another company host.
-
أرجو فعلا أن يكون الموضوع صحيح و مفيد للعرب حظ طيب
-
مافيش كلينت, انت ناقل جزء و سايب التانى
-
I removed the command, useless since it's already handled onPlayerLogin.
-
teamAdmin = createTeam ( "Admin", 255, 0, 0 ) function addtoteam(thePlayer) if ( hasObjectPermissionTo ( thePlayer, "function.kickPlayer", true ) ) then setPlayerTeam ( thePlayer,teamAdmin ) setPedSkin ( thePlayer, 116 ) giveWeapon ( thePlayer, 22, 500, true ) giveWeapon ( thePlayer, 30, 500, true ) setPedArmor ( thePlayer, 100 ) setElementHealth (thePlayer, 100) outputChatBox("YOU MOVED TO TEAM ADMIN", thePlayer, 255, 0, 0) end end function addtoteamtimer() setTimer(addtoteam,3000,1,source) end addEventHandler("onPlayerLogin",getRootElement(),addtoteamtimer) https://wiki.multitheftauto.com/wiki/Scr ... troduction https://wiki.multitheftauto.com/wiki/AR/ ... 8%AC%D9%87
-
ابي اتعلم (العلم نور والجهل ظلام) شباب تكفون ادخلو
JR10 replied to faisl2002's topic in Arabic / العربية
يا أخى صعب أوى اننا نساعدك بهذه الطريقة, لازم يكون عندك أى خلفية https://wiki.multitheftauto.com/wiki/Int ... ng_the_GUI -
function و حتنتهى بعد انتهاء ال function تعنى أن الكلمة سوف تكون موجودة داخل ال https://wiki.multitheftauto.com/wiki/Local
-
addCommandHandler("chat", function(player,_,name,...) local target = getPlayerFromName(name) if not target then return end local message = table.concat ( {...}," " ) if not message or #message == 0 then return end outputChatBox ( getPlayerName ( target ) .. ": " .. message , 255 , 255 , 255 ) end) /chat playerName message.
-
Thanks.
-
Try: setWeaponProperty(34,"poor","flags",0x000400) setWeaponProperty(34,"std","flags",0x000400) setWeaponProperty(34,"pro","flags",0x000400)
-
In the wiki, introduction to scripting, shows how to do such thing. You can stop every resource, like freeroam and play (Because they spawn players), and use 'onPlayerLogin' event. https://community.multitheftauto.com/