-
Posts
206 -
Joined
-
Last visited
Everything posted by salh
-
you want money vip system? like what? if you want give player money function consoleGiveCash ( thePlayer, command, amount ) --when the givecash command is called givePlayerMoney ( thePlayer, amount ) --give the player money according to the amount end addCommandHandler ( "givecash", consoleGiveCash ) --add a handler function for the command "givecash"
-
Looking for some scripters [Giving Special Ingame]
salh replied to Talha's topic in Looking for staff
what the server mode? -
م اتوقع في شي اسمه حصري او مهو مقلد في الهجولة كل المودات في كل السيرفرات الهجولة (:
-
جاكسون انت تبيه اول ما يركب الهايدرا تختفي ولا بس يسوي علامة؟
-
How to disable minimap at starting when entering local server?
salh replied to bencskrisz's topic in Scripting
np (: -
How to disable minimap at starting when entering local server?
salh replied to bencskrisz's topic in Scripting
the original you can disable -
How to disable minimap at starting when entering local server?
salh replied to bencskrisz's topic in Scripting
yes -
How to disable minimap at starting when entering local server?
salh replied to bencskrisz's topic in Scripting
just stop the Resource (: -
How to disable minimap at starting when entering local server?
salh replied to bencskrisz's topic in Scripting
the map is custom? becose its work with me -
اذا الاعب ركب الهيدرا يسوي علامة في الخريطة addEventHandler('onVehicleEnter',root, function(thePlayer, seat , jacked) if getElementModel(source) == 520 then -- يتحقق من انو الموديل حق الهايدرا outputChatBox(getPlayerName(thePlayer)..'entered a hydra', root) -- يكتبلك بالشات انو اللاعب ذا دخل بهايدرا createBlipAttachedTo(source, 52) --- يصنع البلب end end )
-
https://wiki.multitheftauto.com/wiki/DxGUI/dxSetVisible
-
تقدر تسوي كذا addCommandHandler("createObj", function(command, id) local x, y, z = getElementPosition(localPlayer) local object = createObject (id, x, y, z) if (id) then if isObjectBreakable(object) then setObjectBreakable(object, false) end end end ) تصنع الابوجيكت و تخليه ما ينكسر
-
why you replacing this this function for show the dx panel
-
in the first code you get the alpha of the car in this code addEventHandler("onVehicleExit", root, function( thePlayer, seat, jacked ) if getElementAlpha( thePlayer ) == 0 then setElementAlpha ( thePlayer, 255 ) outputChatBox ( "Alpha Auto set to 255", thePlayer, 0, 255, 0, true ) else outputChatBox ( "Unknoown Error",thePlayer, 255, 0, 0, true ) end end) you get the player alpha
-
How to disable minimap at starting when entering local server?
salh replied to bencskrisz's topic in Scripting
addEventHandler ( "onPlayerJoin", root, function () setPlayerHudComponentVisible ( source, "radar", false ) -- Hide the radar displays for the newly joined player end ) -
if you want font bold guiSetFont(times, "default-bold-small")
-
Chnage Timer Text? GuiSetTextCountDown(times, "The Text You Want", 10)
-
np (:
-
> guiLabelSetColor(times, 255, 0, 0) -- 255,0,0 the code color Add this under times = guiCreateLabel(4, 255, 250, 53, "", false) --here GuiSetTextCountDown(times, "Timer", 10)
-
if the timer end the visible = false?
-
the timer function 1s = -1 10 - 1 = 9 every second -1 but killing function every 10 second kill Players