Jump to content

UAEpro

Retired Staff
  • Posts

    524
  • Joined

  • Last visited

Everything posted by UAEpro

  1. my Secret Way ^.^ and my changes will not be useful ><"
  2. thats means "KILL" my project right ??? but i dont think you can put an Arabic word into ar.xml File and make it work with this game environment just try to put any Arabic word like "أحبك" in the GUI and see what happened after compile
  3. السلام عليكم Hello Guys طبعا كلنا نريد نشوف اللعبة بلغتنا of course we all want to see** the game in our** language لذا بدأت هذا المشروع so .. i've start this project برعاية http://forum.mta-ar.com/index.php
  4. fixed everything now when i lunch Multi Theft Auto_d.exe nothing appear ... after 5 to 10 min the window appear and its So slow
  5. ok thats what i did 1st download r2311 2nd Compile it 3rd install data file r2311 4th try to lunch Multi Theft Auto_d.exe This error came edited:::::: found lua5.1d.dll in vendor now Network module not found
  6. Fixed all problems close the topic hello i download all SDK's i need and also Visual Studio 2008 i edit some files but know when i build it i got these errors edit :: i fixed all errors i got but now when i open the game i got this error ?!
  7. UAEpro

    build the sorce

    Hi all i have download the source and edit it * MTA10\core\CMainMenu.cpp now i want to build the source like .EXE how i can do that ? i have c++
  8. haha Not all of them They are only 2 UNTIL NOW i hope the will not increase
  9. Check for Capital Letter or Smal letter in the names like Zombiekills or zombiekills << Cus they are Different
  10. Change to this function makeVisible() get = guiGetVisible(shopWindow) if get == true then guiSetVisible(shopWindow ,false) else guiSetVisible(shopWindow ,true) end end bindKey("F7","down",makeVisible) it will work (i think) reasons in your language لانك انت كتبت guiSetVisible(shop ,false) لكن اسم النافذة المطلوب تظهرها هو shopWindow وليس Shop وننتظر ابداعادك بأحر من الجمر ,, وانا اسف اذا غلطت عليك في يوم من الايام .. تقبل مروري
  11. لا تخاف خوويك ذيب ^.* ok I made it function rewardOnWasted ( ammo, killer, killerweapon, bodypart ) if ( killer ) and ( killer ~= source ) then givePlayerMoney ( killer, 90 ) end end addEventHandler ( "onPlayerWasted", getRootElement(), rewardOnWasted ) ok ^^ see its easy واذا احتجت أي مساعدة كل حد في ها المنتدى حاظريين ^^ and if you need any help we are here ^^
  12. UAEpro

    MTA-CAM HACK

    this program dont wirk with MTA i dont know why
  13. can you see this topic http://adf.ly/6l2B
  14. you can start to make a script وموجود في ايسبورت
  15. cash he told me my cash amount = false >< edit Thaaank you thank you Reallyy really Thaank you you are the best ^.^
  16. ok ^^ for money i want to use mine cus i want to do complete script and this is a small part of the script the problem when i click send i got in debugscript error server.lua:221:attempt to compare Number with nil line 221 = line 5 5# if (cash > tonumber(amount)) then
  17. hello .. i dont know what is wrong cside Playernamelabel = guiCreateLabel(222,18,132,16,"Player Name :",false,tab3) guiLabelSetColor(Playernamelabel,255,255,255) guiLabelSetVerticalAlign(Playernamelabel,"top") guiLabelSetHorizontalAlign(Playernamelabel,"left",false) playernameedit = guiCreateEdit(174,38,227,32,"",false,tab3) Amountlabel = guiCreateLabel(222,80,132,16,"Amount :",false,tab3) guiLabelSetColor(Amountlabel,255,255,255) guiLabelSetVerticalAlign(Amountlabel,"top") guiLabelSetHorizontalAlign(Amountlabel,"left",false) AmountEdit = guiCreateEdit(174,101,227,32,"",false,tab3) sendMoneyButton = guiCreateButton(189,155,200,44,"Send",false,tab3) playerGridList = guiCreateGridList(9,18,142,183,false,tab3) ----------------------- playerGridList = guiCreateGridList(9,18,142,183,false,tab3) playersColumn = guiGridListAddColumn(playerGridList,"Players",0.85) guiGridListSetSelectionMode(playerGridList,2) for id, plaItem in ipairs(getElementsByType("player")) do row = guiGridListAddRow ( playerGridList ) guiGridListSetItemText ( playerGridList, row, playersColumn, getPlayerName ( plaItem ), false, false ) end addEventHandler( "onClientGUIClick", playerGridList, setGUI ) end function setGUI ( ) selectedRow, selectedCol = guiGridListGetSelectedItem( playerGridList ) gridPlayerName = guiGridListGetItemText( playerGridList, selectedRow, selectedCol ) guiSetText ( playernameedit, gridPlayerName ) end sside function giveThem ( playerNick,amount ) local cash = getPlayerMoney(source) if (cash > tonumber(amount)) then moneyToGive = getPlayerFromName(playerNick) if (moneyToGive ~= false) then -- if there player exist givePlayerMoney(moneyToGive,amount) name = getPlayerName(source) takePlayerMoney(source,amount) outputChatBox("You've given money amount of: " .. amount .. "$ for: " .. playerNick,source,255,255,0) outputChatBox(name .. " has given you money amount of: " .. amount .. "$!",moneyToGive,255,255,0) else outputChatBox("Player did not exist",source,255,0,0) end else outputChatBox("You are trying to send amount of money that you even dont have?",source,255,0,0) -- if the sender does not have the amount of money he wants to send end end addEvent( "Sendcaash", true ) addEventHandler( "Sendcaash", getRootElement(), giveThem ) but it give me error attempt to compare number with nil with this line if (cash > tonumber(amount)) then and how i can add money column to scoreboard i tryied to make like this sside addEventHandler("onClientResourceStart", getResourceRootElement(getThisResource()), function () local localPlayer = getLocalPlayer() exports.scoreboard:addScoreboardColumn("Money") setElementData(localPlayer,"Money",0) end ) but it not working ,, the money column is therer but its always 0
  18. thank you aljabal for this script you can use it with shop in basemode script سكربت حلو <<< لاا ما باقي الا نحتل المنتدى هعع
  19. well this part you got to script it, you need this events, onPlayerQuit onPlayerLogin and functions easiest way should be using account data so.. setAccountData getAccountData getPlayerMoney givePlayerMoney can u help me more cus iam noob and new to this language do you mean like that function playerQ1 ( ) local playeraccount = getPlayerAccount ( source ) if ( playeraccount ) then local playermoney = getPlayerMoney ( source ) setAccountData ( playeraccount, "money", playermoney ) end end function playerJ1 ( ) local playeraccount = getPlayerAccount ( source ) if ( playeraccount ) then local playermoney = getAccountData ( playeraccount, "money" ) if ( playermoney ) then setPlayerMoney ( source, playermoney ) end end end addEventHandler ( "onPlayerQuit", getRootElement ( ), playerQ1 ) addEventHandler ( "onPlayerJoin", getRootElement ( ), playerJ1 ) but this not working
  20. and if the money didn't save cus when i set money in admin panel the money don't save after re login
  21. hello .. i tried to give the winner in my sever cash when he win but it's not working and also when i set money in admin panel the money don't save function check() local alive = getAlivePlayers() if (#alive == 1) then local player = alive[1] givePlayerMoney(player,2500) outputChatBox(getPlayerName(player).." has earned $2500 for being the last player alive",getRootElement(),0,255,0) end end addEventHandler("onVehicleExplode",getRootElement(),check)
  22. this is stolen do you understand me ?? i remade the GUI but now MTA crash i will not stole it .. he said
×
×
  • Create New...