Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 27/09/16 in all areas

  1. Try this: guiCreateStaticImage(300, 100, 200, 200, "images/icon_user.png", false) addEventHandler("onClientRender", root, function() dxSetBlendMode("modulate_add") dxDrawImage(300, 350, 200, 200, "images/icon_user.png") dxSetBlendMode("blend") end)
    2 points
  2. Thanks for the report. It should be fixed now. You may need to do a hard refresh for it to take effect - Ctrl+Shift+R in chrome.
    2 points
  3. @darkdreamingdan Hi dan, in fact i think there's a problem with the plugin some functions aren't including in the plugin? That's what i found when i tried to post about account's functions using the plugin. addAccount getAccountData getAccountName removeAccount setAccountData UPDATE : addAccount copyAccountData getAccountData getAccountName getAccountPlayer getAccountsBySerial getAccountSerial getAccounts getAccount getAllAccountData getPlayerAccount isGuestAccount logIn logOut removeAccount setAccountData setAccountPassword aclReload aclSave aclList aclGet aclCreate aclDestroy aclGetName aclGetRight aclSetRight aclListRights aclRemoveRight aclGetGroup aclCreateGroup aclDestroyGroup aclGroupList aclGroupAddACL aclGroupAddObject aclGroupGetName aclGroupListACL aclGroupListObjects aclGroupRemoveACL aclGroupRemoveObject hasObjectPermissionTo isObjectInACLGroup addBan banPlayer getBanAdmin getBanIP getBanNick getBanReason getBans getBanSerial getBanTime getBanUsername getUnbanTime isBan kickPlayer setBanAdmin setBanNick setBanReason setUnbanTime removeBan reloadBans playSoundFrontEnd getGameType getMapName getRuleValue removeRuleValue setGameType setMapName setRuleValue createBlip createBlipAttachedTo getBlipColor getBlipIcon getBlipSize setBlipColor setBlipIcon setBlipSize getBlipOrdering setBlipOrdering getBlipVisibleDistance setBlipVisibleDistance fadeCamera getCameraInterior getCameraMatrix getCameraTarget setCameraInterior setCameraMatrix setCameraTarget getBodyPartName getClothesByTypeIndex getClothesTypeName getTypeIndexFromClothes createColCircle createColCuboid createColRectangle createColSphere createColTube createColPolygon isElementWithinColShape getElementsWithinColShape getElementColShape isCursorShowing showCursor clearElementVisibleTo cloneElement createElement destroyElement getAllElementData getAttachedElements getElementAlpha getElementAttachedOffsets getElementCollisionsEnabled getElementAttachedTo getElementByID getElementByIndex getElementChild getElementChildren getElementChildrenCount getElementColShape getElementData getElementDimension getElementHealth getElementID getElementInterior getElementMatrix getElementParent getElementPosition getElementRotation getElementsByType getElementsWithinColShape getElementType getElementVelocity getElementZoneName getRootElement isElement isElementAttached isElementCallPropagationEnabled isElementDoubleSided isElementFrozen isElementVisibleTo isElementWaitingForGroundToLoad isElementWithinColShape removeElementData setElementAlpha setElementCallPropagationEnabled setElementCollisionsEnabled setElementData setElementDoubleSided setElementDimension setElementFrozen setElementHealth setElementID setElementInterior setElementParent setElementPosition setElementSyncer setElementRotation setElementVelocity setElementVisibleTo attachElements detachElements getElementModel getElementSyncer isElementInWater setElementAttachedOffsets setElementModel setLowLODElement getLowLODElement isElementLowLOD addEvent addEventHandler getEventHandlers cancelEvent getCancelReason removeEventHandler triggerClientEvent triggerEvent wasEventCancelled triggerLatentClientEvent getLatentEventHandles getLatentEventStatus cancelLatentEvent createExplosion fileClose fileCopy fileCreate fileDelete fileExists fileFlush fileGetPath fileGetPos fileGetSize fileIsEOF fileOpen fileRead fileRename fileSetPos fileWrite httpClear httpRequestLogin httpSetResponseCode httpSetResponseCookie httpSetResponseHeader httpWrite bindKey getControlState getFunctionsBoundToKey getKeyBoundToFunction isControlEnabled isKeyBound setControlState toggleAllControls toggleControl unbindKey loadMapData resetMapInfo saveMapData createMarker getMarkerColor getMarkerCount getMarkerIcon getMarkerSize getMarkerTarget getMarkerType isElementWithinMarker setMarkerColor setMarkerIcon setMarkerSize setMarkerTarget setMarkerType Vector/Vector2 Vector/Vector3 Vector/Vector4 getLoadedModules getModuleInfo createObject moveObject stopObject getObjectScale setObjectScale addPedClothes createPed doesPedHaveJetPack getPedAmmoInClip getPedArmor getPedClothes getPedContactElement getPedFightingStyle getPedGravity getPedOccupiedVehicle getPedOccupiedVehicleSeat getPedStat getPedTarget getPedTotalAmmo getPedWalkingStyle getPedWeapon getPedWeaponSlot getValidPedModels givePedJetPack isPedChoking isPedDead isPedDoingGangDriveby isPedDucked isPedFrozen isPedHeadless isPedInVehicle isPedInWater isPedOnFire isPedOnGround killPed reloadPedWeapon removePedClothes removePedFromVehicle removePedJetPack setPedAnimation setPedAnimationProgress setPedAnalogControlState setPedArmor setPedChoking setPedDoingGangDriveby setPedFightingStyle setPedFrozen setPedGravity setPedHeadless setPedOnFire setPedStat setPedWeaponSlot setPedWalkingStyle warpPedIntoVehicle createPickup getPickupAmmo getPickupAmount getPickupType getPickupWeapon setPickupType getPickupRespawnInterval isPickupSpawned setPickupRespawnInterval usePickup forcePlayerMap getAlivePlayers getDeadPlayers getPlayerACInfo getPlayerAnnounceValue getPlayerBlurLevel getPlayerCount getPlayerFromName getPlayerIdleTime getPlayerIP getPlayerMoney getPlayerName getPlayerNametagColor getPlayerNametagText getPlayerPing getPlayerSerial getPlayerTeam getPlayerVersion getPlayerWantedLevel getRandomPlayer givePlayerMoney isPlayerMapForced isPlayerMuted isPlayerNametagShowing isVoiceEnabled redirectPlayer resendPlayerACInfo resendPlayerModInfo setPlayerAnnounceValue setPlayerBlurLevel setPlayerHudComponentVisible setPlayerMoney setPlayerMuted setPlayerName setPlayerNametagColor setPlayerNametagShowing setPlayerNametagText setPlayerTeam setPlayerVoiceBroadcastTo setPlayerVoiceIgnoreFrom setPlayerWantedLevel showPlayerHudComponent spawnPlayer takePlayerMoney takePlayerScreenShot detonateSatchels createRadarArea getRadarAreaColor getRadarAreaSize isInsideRadarArea isRadarAreaFlashing setRadarAreaColor setRadarAreaFlashing setRadarAreaSize addResourceConfig addResourceMap call callRemote fetchRemote copyResource createResource getResourceConfig getResourceDynamicElementRoot getResourceExportedFunctions getResourceFromName getResourceInfo getResourceLastStartTime getResourceLoadFailureReason getResourceLoadTime getResourceMapRootElement getResourceName getResourceRootElement getResources getResourceState getThisResource refreshResources removeResourceFile restartResource startResource stopResource setResourceInfo renameResource deleteResource getResourceACLRequests updateResourceACLRequest addCommandHandler executeCommandHandler fromJSON getFPSLimit getMaxPlayers getServerHttpPort getServerName getServerPassword getServerPort getVersion isGlitchEnabled outputChatBox outputConsole outputDebugString outputServerLog removeCommandHandler setFPSLimit setGlitchEnabled setMaxPlayers setServerPassword showChat shutdown toJSON get set executeSQLQuery dbConnect dbExec dbQuery dbPoll dbFree dbPrepareString countPlayersInTeam createTeam getPlayersInTeam getPlayerTeam getTeamColor getTeamFriendlyFire getTeamFromName getTeamName setPlayerTeam setTeamColor setTeamFriendlyFire setTeamName textCreateTextItem textDestroyTextItem textItemGetColor textItemGetPosition textItemGetPriority textItemGetScale textItemGetText textItemSetColor textItemSetPosition textItemSetPriority textItemSetScale textItemSetText textCreateDisplay textDestroyDisplay textDisplayAddObserver textDisplayAddText textDisplayRemoveObserver textDisplayRemoveText textDisplayGetObservers textDisplayIsObserver getColorFromString getDistanceBetweenPoints2D getDistanceBetweenPoints3D getEasingValue interpolateBetween getPerformanceStats getNetworkStats getNetworkUsageData getServerConfigSetting setServerConfigSetting getRealTime getTickCount getTimerDetails getTimers gettok getUserdataType hash killTimer resetTimer setTimer split isOOPEnabled isTimer md5 sha256 teaEncode teaDecode base64Encode base64Decode utfChar utfCode utfLen utfSeek utfSub pregFind pregReplace pregMatch bitAnd bitNot bitOr bitXor bitTest bitLRotate bitRRotate bitLShift bitRShift bitArShift bitExtract bitReplace addDebugHook removeDebugHook utf8.byte utf8.char utf8.charpos utf8.escape utf8.find utf8.fold utf8.gmatch utf8.gsub utf8.insert utf8.len utf8.lower utf8.match utf8.ncasecmp utf8.next utf8.remove utf8.reverse utf8.sub utf8.title utf8.upper utf8.width utf8.widthindex createVehicle addVehicleSirens removeVehicleSirens removeVehicleUpgrade addVehicleUpgrade attachTrailerToVehicle blowVehicle detachTrailerFromVehicle fixVehicle resetVehicleExplosionTime resetVehicleIdleTime respawnVehicle spawnVehicle toggleVehicleRespawn isTrainChainEngine isTrainDerailable isTrainDerailed isVehicleBlown isVehicleTaxiLightOn isVehicleDamageProof isVehicleFuelTankExplodable isVehicleLocked isVehicleOnGround getTrainDirection getTrainSpeed getTrainTrack getTrainPosition getVehicleColor getVehicleCompatibleUpgrades getVehicleController getVehicleDoorState getVehicleEngineState getVehicleLandingGearDown getVehicleLightState getVehicleMaxPassengers getVehicleName getVehicleOccupant getVehicleOccupants getVehicleOverrideLights getVehiclePaintjob getVehiclePanelState getVehiclePlateText getVehicleSirensOn getVehiclesOfType getVehicleTowedByVehicle getVehicleTowingVehicle getVehicleTurnVelocity getVehicleTurretPosition getVehicleType getVehicleUpgradeOnSlot getVehicleUpgrades getVehicleUpgradeSlotName getVehicleWheelStates getVehicleDoorOpenRatio getVehicleHandling getModelHandling getOriginalHandling getVehicleHeadLightColor getVehicleModelFromName getVehicleNameFromModel getVehicleVariant getVehicleSirenParams getVehicleSirens setModelHandling setTrainDerailable setTrainDerailed setTrainDirection setTrainSpeed setTrainPosition setTrainTrack setVehicleColor setVehicleDamageProof setVehicleDoorState setVehicleDoorsUndamageable setVehicleEngineState setVehicleFuelTankExplodable setVehicleIdleRespawnDelay setVehicleLandingGearDown setVehicleLightState setVehicleLocked setVehicleOverrideLights setVehiclePaintjob setVehiclePanelState setVehiclePlateText setVehicleRespawnDelay setVehicleRespawnPosition setVehicleSirensOn setVehicleTurretPosition setVehicleDoorOpenRatio setVehicleHandling setVehicleTurnVelocity setVehicleWheelStates setVehicleHeadLightColor setVehicleTaxiLightOn setVehicleVariant setVehicleSirens createWater getWaterColor getWaterVertexPosition getWaveHeight resetWaterColor setWaterColor setWaterLevel setWaterVertexPosition setWaveHeight resetWaterLevel getSlotFromWeapon getWeaponIDFromName getWeaponNameFromID giveWeapon setWeaponAmmo takeAllWeapons takeWeapon getOriginalWeaponProperty getWeaponProperty setWeaponProperty areTrafficLightsLocked getCloudsEnabled getGameSpeed getGravity getHeatHaze getJetpackMaxHeight getMinuteDuration getSkyGradient getTime getTrafficLightState getWeather getZoneName isGarageOpen resetSkyGradient resetHeatHaze setCloudsEnabled setGameSpeed setGarageOpen setGravity setHeatHaze setMinuteDuration setSkyGradient setTime setTrafficLightState setTrafficLightsLocked setWeather setWeatherBlended setInteriorSoundsEnabled getInteriorSoundsEnabled setRainLevel getRainLevel resetRainLevel setSunSize getSunSize resetSunSize setSunColor getSunColor resetSunColor setWindVelocity getWindVelocity resetWindVelocity setFarClipDistance getFarClipDistance resetFarClipDistance setFogDistance getFogDistance resetFogDistance removeWorldModel restoreWorldModel restoreAllWorldModels setOcclusionsEnabled getOcclusionsEnabled setJetpackWeaponEnabled getJetpackWeaponEnabled setAircraftMaxVelocity getAircraftMaxVelocity setMoonSize getMoonSize resetMoonSize xmlCopyFile xmlCreateFile xmlDestroyNode xmlLoadFile xmlNodeGetAttribute xmlNodeGetValue xmlNodeSetAttribute xmlNodeSetValue xmlSaveFile xmlUnloadFile xmlCreateChild xmlFindChild xmlNodeGetAttributes xmlNodeGetChildren xmlNodeGetName xmlNodeGetParent xmlNodeSetName This is a list of server side functions or it could be shared also so some of them also aren't colored and missing also .
    2 points
  4. تعلم لغه الجافا منه تستطيع انشاء تطبيقات على الويندوز او على أجهزه الأندرويد ويمكنك ايضا تصميم المواقع لكن ليس بأحترافيه البي اتش بي والروبي
    2 points
  5. السلام عليكم تاني سكربت اعمله وهو شوب اسلحه معاه سيارات بس السيارت مب بفلوس+ شخصيات وشوب الاسلحه فقط بفلوس ويمديك تعدل ع المود تعديل كامل ان شاء الله يعجبكم http://up.top4top.net/downloadf-270m2ku1-zip.html رابط التحميل
    1 point
  6. Good job , it was working as it should.
    1 point
  7. اوافقك الرأي بل نسبة لي جافا ا حسن من VB.NET لكن جافا اصعب قليلآ
    1 point
  8. If you don't know the function that opens the panel so I can put it in the code, what do you want me to add to the code? When you find the client side function, make sure it has an event handler addEvent() and addEventHandler() Then use that event handler to trigger it in server side (because mysql is server side, but if you do setElementData to set the admin level of a player and getElementData to get the admin level then you can use that instead in both client and server) So use this to call the event that opens the panel: triggerClientEvent ( thePlayer, "thePanelOpeningEvent", thePlayer ) Hope this helps
    1 point
  9. الطريقة الي قاعد تجيب فيها الساعات غلط , والحل تستخدم واحد من هذول gettok -- split
    1 point
  10. ربنا ارحمنا وارحم المسلمين والمسلمات، الأحياء منهم والأموات
    1 point
  11. 1 point
  12. You use the event onClientGUIClick to detect whenever a button is clicked. Then you compare the source of the event to find what button was clicked, for example; if(source == GUIEditor.button[1]) then -- Code here end
    1 point
  13. Client : GUIEditor = { button = {}, window = {} } local thePed = createPed ( 0,1625.80774,-1509.70374,13.59852,180 ) setElementFrozen( thePed,true ) local marker1 = createMarker ( 1625.8000488281,-1510.5,12.60000038147,'cylinder',1,254,0,0 ) GUIEditor.window[1] = guiCreateWindow ( 342,110,712,482,'(RLU)Criminal Job',false ) guiSetVisible( GUIEditor.window[1],false ) guiWindowSetSizable ( GUIEditor.window[1], false ) guiSetProperty ( GUIEditor.window[1],'CaptionColour','FFFF0505' ) GUIEditor.button[1] = guiCreateButton ( 9,413,143,59,'Get the Job !',false,GUIEditor.window[1] ) GUIEditor.button[2] = guiCreateButton ( 705,417,0,15,'',false,GUIEditor.window[1] ) GUIEditor.button[3] = guiCreateButton ( 704,417,0,15,'',false,GUIEditor.window[1] ) GUIEditor.button[4] = guiCreateButton ( 572,410,131,62,'Exit',false,GUIEditor.window[1] ) addEventHandler( 'onClientGUIClick',root, function ( ) if ( source == GUIEditor.button[1] ) then guiSetVisible ( GUIEditor.window[1] , false ) guiSetInputEnabled ( false ) showCursor( false ) triggerServerEvent ( 'Team',localPlayer ) elseif ( source == GUIEditor.button[4] ) then guiSetVisible ( GUIEditor.window[1] , false ) showCursor ( false ) guiSetInputEnabled ( false ) end end ) addEventHandler ( 'onClientMarkerHit',marker1, function ( hitElement ) if ( hitElement and getElementType ( hitElement ) == 'player' ) then if isPedInVehicle ( hitElement ) then return outputChatBox ( 'Exit from the vehicle!',255,0,0 ) end guiSetVisible( GUIEditor.window[1],true ) showCursor( true ) guiSetInputEnabled ( true ) end end ) addEventHandler ( 'onClientPedDamage',thePed,cancelEvent ) Server : local Criminal = createTeam ( 'Criminal',252,11,11 ) addEvent( 'Team',true ) addEventHandler ( 'Team',root, function ( ) if getPlayerTeam ( source ) == Criminal then return outputChatBox( 'You are already in criminal job!',source,255,0,0 ) end setPlayerTeam ( source,Criminal ) outputChatBox ( 'You Have now joined criminal job!',source,0,255,0 ) end )
    1 point
  14. انشهد انك ذيب كلامك صح وكان بدايتي انا مود لوحة قوانين وبعدين تطورت ^.^
    1 point
  15. منور الموضوع اخوي نصور ... الله يعافيك
    1 point
  16. المشكلة مومنكم , المشكلة من المنتدي نفسه اذا حطيت اللغة العربيه تعكس الكود - يعطيك العافية ع الموضوع
    1 point
  17. guiSetInputMode ( "no_binds_when_editing" )
    1 point
  18. That is an MTA Client command. You can try this: addEventHandler("onPlayerCommand", root, function(cmd) if cmd == "me" then cancelEvent(true) outputChatBox() -- enter the format of the text you want it to be like end end )
    1 point
  19. Actually saying SA-MP was first is a mistake many people make. MTA:SA came 4-5 months before SA-MP, however it did come out only as Race but then again still before SA-MP. As for one of the big reasons why SA-MP has bigger playerbase, it's this: This is what one who is completely unfamiliar with GTA:SA's multiplayer options would google, and what they would get as their first option. I personally started with SA-MP back in 2008 and didn't know about MTA until 2010 which is when I started playing MTA as well, I was still playing SA-MP from time to time while MTA was my main focus until I got banned on SA-MP's forum for mentioning MTA a year ago, then I fully transfered to MTA:SA and also made sure to defrag my disc after uninstalling SA-MP to make sure not even a small bit of that mod is left on my PC Also, pardon the Croatian from google, I hate it as well
    1 point
  20. ينقل إلى قسم البرمجة
    1 point
  21. First question, what?.. Second question - https://wiki.multitheftauto.com/wiki/Scripting_Introduction
    1 point
×
×
  • Create New...