-
Posts
404 -
Joined
-
Last visited
Everything posted by AE.
-
make a function for making a column and create a rectangle with width and height thats a one column but make sure to make a variable that hold the end pos of the x rectangle - there is a column now when someone creating new column with the function you created you will use the variable of the last end pos and add it to the new x pos like this function column(x,y,bla,bla) newx = x + oldx dxDrawRectangle(newx,bla,bla) end make the same for the row but with y pos note : oldx must be 0 for a new gridlist , oldy too
-
كخبير في اللغة مانك خبير ف اللغة
-
-
debug gives you anything?
- 6 replies
-
- skill-system
- character
-
(and 4 more)
Tagged with:
-
سوي مود الجوال ومثل ماسويت التطبيقات اللي قبلها سوي تطبيق جديد لو تستخدم مود منشور جرب تضيف صورة واستخدم حدث onClientGUIClick
-
------------ تمسك اللي دمه اقل من 30 onClientPlayerTarget -- حدث -- تحقق جوا فنكشن الحدث انو نوع الالمنت لاعب -- تحقق ان الالمنت دمه اقل من 30 او ايا كان الرقم اللي تبيه -- تحقق ان الاعب شرطي toggleAllControls -- تخلي الاعب مايقدر يتحرك او يسوي شئ --------------تخلي الاعب يمشي ورا الاعب اللي قبض عليه setPedControlState -- تخلي الاعب يمشي ورا الاعب getPedCameraRotation -- نجيب التوجيه حق الاعب اللي قبض علي المجرم setPedCameraRotation -- تخلي الاعب المقبوض عليه يتوجه لللاعب اللي قبض عليه
-
ماظن ينفع تحط مسافة ف الاسل .. سوي جروب جديد ف الاسل بدون مسافة
-
i checked the shamal components names and there is no such component with this name !
-
i think there is something wrong with component name ..
-
-- debug ?
-
function spawnvehicle (thePlayer) local theVeh = getPedOccupiedVehicle(thePlayer) if ( theVeh ) then if ( VehiclesTable[thePlayer] ) then destroyElement(theVeh) VehiclesTable[thePlayer] = nil outputChatBox ("Your vehicle has been destroyed because you touched this marker", thePlayer, 0, 255, 0) return -- If u wanna give you a new vehicle after destroyed, delete this line end end if ( getElementType(thePlayer) == 'player' ) then local x, y, z = getElementPosition (thePlayer) local rotX, rotY, rotZ = getElementRotation (thePlayer) VehiclesTable[thePlayer] = createVehicle (411, x-10, y, z) setElementRotation (VehiclesTable[thePlayer], rotX, rotY, 90) warpPedIntoVehicle (thePlayer, VehiclesTable[thePlayer]) outputChatBox ("You successfully spawned an Infernus!", thePlayer, 0, 255, 0) end end addEventHandler("onMarkerHit", vehSpawnMark, spawnvehicle) try this ^ the problem was that it checks if the element that hit the marker is a player while the player hit it while he was in vehicle so the hitElement is vehicle .. not player
-
if you mean you want to edit texture live on map editor i think this is a hard s*it you want a script that can run txd and can export images from it and then you need to make photoshop in the game and add to the map editor and a lot of another s*it i skipped in another word .. you need a bad ass scripter that know more than lua
-
function shamalFunctions() local vehicle = getPedOccupiedVehicle(localPlayer) local x, y, z = getVehicleComponents(vehicle, "gearflapleft" ) if(vehicle)then if getElementModel(vehicle) == 519 then local rx, ry, rz = getVehicleComponentRotation(vehicle, "gearflapleft") setTimer(function () setVehicleComponentRotation(vehicle, "gearflapleft", rx, ry+1, rz) end,100,90) end end end bindKey("u", "down", shamalFunctions)
-
function putPlayers() guiGridListClear(gridlist2) for i,account in ipairs(getAccounts()) do accName = getAccountName(account) if isObjectInACLGroup ("user."..accName, aclGetGroup ( "Console" ) ) then local row = guiGridListAddRow(gridlist2) guiGridListSetItemText(gridlist2,row,1,accName,false,false) end end
-
i told you to play with the x + y not to copy pasta my code :3
- 14 replies
-
- dxdrawimage3d
- centerimage3d
- (and 6 more)
-
ماينفع getPlayerSerial هاده سيرفر ماينفع تحطها ف الكلينت
-
i think it's better to keep the first code and play with x + y addEventHandler( "onClientRender", root, function( ) for i=1, #players do local p = players[i] if activado[ p ] == true then local x, y, z = getElementPosition( p ) local z_ground = getGroundPosition( x, y, z ) dxDrawImage3D( x+0.4, y+0.4, z_ground, 1, 2.5, imagen, tocolor( 0, 255, 230, 255 ), 0, x, y, z ) end end end ) try to play with it until it be under the player feet
- 14 replies
-
- dxdrawimage3d
- centerimage3d
- (and 6 more)
-
who said that you will attach to the bone?
- 14 replies
-
- dxdrawimage3d
- centerimage3d
- (and 6 more)
-
use ped bone getPedBonePosition ( yourplayer,44 )
- 14 replies
-
- dxdrawimage3d
- centerimage3d
- (and 6 more)