Jump to content

iPrestege

Members
  • Posts

    10,056
  • Joined

  • Last visited

  • Days Won

    27

Everything posted by iPrestege

  1. هذي تسويها باي احداثيات مو لازم ماركر انا مسويه بالروم عندي ..
  2. No it's from the forum i don't know why i think because the spam's topic's -.- .
  3. https://forum.multitheftauto.com/viewtopic.php?f=160&t=58241
  4. You are trying to use client and server function in one script no way! triggerClientEvent
  5. It works i just test it now and works fine are you sure about the team name ? or about the meta file?
  6. No try this but not tested ; function killReward ( killer,weapon,bodypart ) local accountname = getAccountName(getPlayerAccount(killer)) if isObjectInACLGroup("user." .. accountname, aclGetGroup("VIP")) then if (killer) and (killer ~= source) then givePlayerMoney (killer,1000) end end end addEventHandler ("onZombieWasted", getRootElement(), killReward) The killer is on the parameter one -.- read here : https://wiki.multitheftauto.com/wiki/Slothman/Zombies#onZombieWasted
  7. Will check this out ; https://forum.multitheftauto.com/viewtopic.php?f=91&t=58189
  8. Not tested but try this ; GUIEditor = { window = {} } GUIEditor.window[1] = guiCreateWindow(182, 72, 498, 410, "MyGui", false) guiSetVisible(GUIEditor.window[1],false) guiWindowSetSizable(GUIEditor.window[1], false) bindKey("F1","down", function ( ) if ( getPlayerTeam(localPlayer) and getTeamName(getPlayerTeam(localPlayer) ) == "Team Name" ) then guiSetVisible(GUIEditor.window[1],not guiGetVisible(GUIEditor.window[1])) showCursor(guiGetVisible(GUIEditor.window[1])) else outputChatBox("* For ( Team Name ) Only!") end end )
  9. iPrestege

    bindKey

    And where's the lobby ? image or The player hud i can't find where's it .
  10. Did you read the wiki page ? alignX: horizontal alignment of the text within the bounding box. Can be "left", "center" or "right". alignY: vertical alignment of the text within the bounding box. Can be "top", "center" or "bottom". try to set it to "center","center" and see what happened .
  11. getPlayerTeam getTeamName Using these functions .
  12. Please post the code using Lua / Lua Tag .
  13. No tested but try this ; Teams = { {"Test [1]",0,255,255}, {"Test [2]",255,255,0} } addEventHandler("onResourceStart",resourceRoot, function ( ) for _,v in next,Teams do createTeam(v[1],v[2],v[3],v[4]) end end ) And you're code should be : addEventHandler ( "onPlayerJoin", getRootElement(), function () local name = getPlayerName ( source ) if ( string.find ( name,"Clan Name") ) then setPlayerTeam ( source, getTeamFromName("Team Name") ) end end )
  14. iPrestege

    MTA CRASH

    * Download MTADiag and follow the instructions and check the URL for a CAPTCHA before posting it here .
  15. getScreenFromWorldPosition getDistanceBetweenPoints3D getCameraMatrix dxGetTextWidth dxGetFontHeight tocolor dxDrawText onClientRender هذي الوظائف والاحداث ..
  16. .. اذا استخدمت الرندر ماله داعي تايمر عطيتكـ خيارين ..
  17. Post the script you are using ..
  18. اممم فية مشكلة معها .. http://bugs.mtasa.com/view.php?id=4571 ..
  19. iPrestege

    Help

    https://forum.multitheftauto.com/viewtopic.php?f=104&t=31668 download and run !
  20. iPrestege

    Help

    Did you try the latest version ?
  21. iPrestege

    Help

    Did you read this?
×
×
  • Create New...