-
Posts
431 -
Joined
Everything posted by Al3grab
-
triggering to server and checking using "hasObjectPermissionTo" or "isObjectInACLGroup" then triggering back to client , or set an element data for the player on login , and checking on memo creation
-
شلون مو موجودة ؟ ، متأكد عندك كاسبر ولا * تأكد اضغط على السهم وشوفه موجود:
-
sqllitebrowser is too easy , i don't think you can find easier , and the passwords are encrypted with MD5.
-
function createGUIWindow1() GUIEditor_Window = {} GUIEditor_Button = {} GUIEditor_Memo = {} GUIEditor_Label = {} GUIEditor_Edit = {} GUIEditor_Window[1] = guiCreateWindow(363,194,579,330,"[sSC] Black list",false) guiWindowSetSizable(GUIEditor_Window[1],false) GUIEditor_Label[1] = guiCreateLabel(80,45,364,34,"No one yet",false,GUIEditor_Window[1]) guiSetFont(GUIEditor_Label[1],"clear-normal") GUIEditor_Label[2] = guiCreateLabel(7,67,66,24,"Attention:",false,GUIEditor_Window[1]) guiLabelSetColor(GUIEditor_Label[2],255,0,0) guiSetFont(GUIEditor_Label[2],"default-bold-small") GUIEditor_Label[3] = guiCreateLabel(70,67,502,15,"Do not copy their names and put it as your nickname becuase you will banned for 2 days",false,GUIEditor_Window[1]) guiSetFont(GUIEditor_Label[3],"default-bold-small") GUIEditor_Button[1] = guiCreateButton(140,271,295,50,"Reason",false,GUIEditor_Window[1]) GUIEditor_Edit[1] = guiCreateEdit(74,-117,98,40,"",false,GUIEditor_Button[1]) GUIEditor_Memo[1] = guiCreateMemo(115,238,345,31," Read Why these peoples in black list",false,GUIEditor_Window[1]) guiMemoSetReadOnly(GUIEditor_Memo[1],true) guiSetVisible ( GUIEditor_Window[1] ,false ) end addEventHandler("onClientResourceStart", resourceRoot, createGUIWindow1) addCommandHandler("blacklist", function() guiSetVisible(GUIEditor_Window[1],not guiGetVisible(GUIEditor_Window[1])) showCursor(guiGetVisible(GUIEditor_Window[1])) end )
-
رايت كليك ..
-
جرب تطفي الحماية ، وادخل اللعبة كـ مسؤول ..
-
يمكن عندك مشكلة في جدار الحماية ، تستخدم أي برنامج ؟ ، وش إصدار الويندوز ؟
-
mind showing your code ?
-
use that and you have to define the seller in 'theSeller' variable. addEventHandler ( "onClientGUIClick", getRootElement(), function () local theSeller = theseller -- define the seller here if ( source == GUIEditor_Button[1] and theSeller) then triggerServerEvent ("give45",getLocalPlayer(),theSeller) end end ) function give45 (theSeller) if theSeller then takePlayerMoney(source,100) givePlayerMoney(theSeller,400) giveWeapon(source,22,15,true) end end addEvent("give45",true) addEventHandler("give45",root,give45)
-
is the dealer player or ped ? , if he is a ped you can't give him money !
-
I don't know much about shaders but the event should be like this addEventHandler("onClientResourceStart", resourceRoot, function() -- reseourceRoot = getResourceRootElement(getThisResource())
-
هههه العقرب تابل سرق سكربتك وخلاه TOP 30 player by TAPL هههههههههه
-
السلام عليكم بالنسبة للسيرفر إذا دخلته يظل التحميل على 0 ميجا ولا يتقدم ، والشوب إبداع 5/5
-
الموضوع إنقلب .. ! ، عرب ..
-
wantedJanela = guiCreateWindow(76,58,171,21,"",false) editWanted = guiCreateEdit(76,58,171,21,"",false,wantedJanela) guiSetVisible ( wantedJanela, false) function Visible () guiSetVisible ( wantedJanela, not guiGetVisible(wantedJanela) ) showCursor(guiGetVisible(wantedJanela) ) end addCommandHandler ( "wantedstats", Visible ) will be better
-
show your acl
-
first time to see this function too , a lot of cool things can be done with it !
-
you can make a hidden gui button on top of each dx text and detect when the player click on it
-
hi again , adding UTF-8 support will be great
-
addEventHandler("onPlayerDamage",root,function() setElementData(source,"skin",getElementModel(source) or 0 ) end ) addEventHandler("onPlayerWasted",root,function() setElementData(source,"skin",getElementModel(source) or 0 ) end ) addEventHandler("onPlayerSpawn",root,function() setElementModel(source,getElementData(source,"skin") or 0 ) end )
-
exports.scoreboard:addScoreboardColumn("Kills") addEventHandler("onPlayerWasted",root,function(ammo,killer) if killer and killer ~= source and getElementType(killer) == "player" then local pKills = getElementData(killer,"Kills") or 0 if pKills then setElementData(killer,"Kills",pKills+1) end end end )
-
local vehicleMarker = createMarker(208.60000610352, 1920.6999511719, 16.60000038147, 'cylinder', 2.0, 40, 73, 0, 200 ) function vehicleMarkerHit ( hitElement, matchingDimension ) local playerTeam = getPlayerTeam(hiElement) if ( playerTeam ) then local teamName = getTeamName(playerTeam) if ( teamName and teamName == "Armed Forces" ) then if ( getElementType ( hitElement ) == "player" and not isPedInVehicle (hitElement) ) then local theNewVeh = createVehicle ( 470, 208.60000610352, 1920.6999511719, 16.60000038147, 0, 0, 90 ) if theNewVeh then warpPedIntoVehicle(hitElement, theNewVeh) end end end end end addEventHandler( "onMarkerHit", vehicleMarker , vehicleMarkerHit )