Jump to content

UAEpro

Retired Staff
  • Posts

    524
  • Joined

  • Last visited

Everything posted by UAEpro

  1. Very nice i like this map ^,^ the best part is your logo very niiice
  2. thanks ^.^ and you will know what i will do when i release mine ^.^
  3. i deleted centOS and install fredora and it works ^^
  4. i changed this topic a lot... i tried to do these steps but when i do ./configure i got checking whether to enable maintainer-specific portions of Makefiles... no checking for sed... /bin/sed checking for grep... /bin/grep checking for egrep... /bin/grep -E checking for ar... /usr/bin/ar checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking curl version... 7.19.0 checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking for gcc... no checking for cc... no checking for cl.exe... no configure: error: no acceptable C compiler found in $PATH See `config.log' for more details. and make ./configure checking whether to enable maintainer-specific portions of Makefiles... no checking for sed... /bin/sed checking for grep... /bin/grep checking for egrep... /bin/grep -E checking for ar... /usr/bin/ar checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking curl version... 7.19.0 checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking for gcc... no checking for cc... no checking for cl.exe... no configure: error: no acceptable C compiler found in $PATH See `config.log' for more details. make: *** [all] Error 1
  5. edit : Nevermind .. i uninstall centOS and install fredora .. then it work ^.^ hello i set my server files in ./home/xpro/mtasa/mta-server then i start the server ./mta-server i got problem, libcurl.so.4: cannot open shared object file: No such file or directory ERROR: Loading network library (net.so) failed! Press Q to shut down the server! please help me
  6. i will start next week .. these days I'm busy with my server >,
  7. function clientsideResourceStart () local playerList = guiCreateGridList ( 0.80, 0.10, 0.15, 0.60, true ) -- Create the grid list local column = guiGridListAddColumn( playerList, "Player", 0.85 ) -- Create a 'players' column in the list if ( column ) then -- If the column was successfully created for id, playeritem in ipairs(getElementsByType("player")) do --Loop through all the players, adding them to the table local row = guiGridListAddRow ( playerList ) guiGridListSetItemText ( playerList, row, column, getPlayerName ( playeritem ), false, false ) end end end addEventHandler ( "onClientResourceStart", getRootElement(), clientsideResourceStart ) fixed 1 small thing ^.^
  8. search for my posts .. and you will now why and don't say noob to someone you don't know So if he will give me the source i will just edit it without remove anything he made .. that's it ... and if he don't want no problem for me because i know i will do it someday UAEpro,
  9. The community user "Bauss" is not me but Budya aka an idiot from SHC. REPORT COMMUNITY CENTER RESOURCES HERE https://forum.multitheftauto.com/viewtopic.php?f=108&t=25351
  10. hey .. can you give me the source and i will not remove your name or ( the word start with cr ) lol
  11. Very Nice .. < like Counter strike i like it ^.~
  12. is there any way that i can patch MTA to be like the original one. if there is .. i will try to find it .. (( iam noob in C++ ))
  13. this is might help you http://regex.info/sha1.lua you can use it by sha1(passwordcheck)
  14. you can search with phpmyadmin ^^
  15. because the id is marker (cylinder) (1) not marker1
  16. how many players in your server and where your server is hosted
  17. Me2 same as you last 2 days my servers were a SH*T of LaG
  18. Very nice .. is there any way i can get ur maps ?
  19. Wow .. relay nice maps .. do you sell it ?
  20. replace the 1st function by this function promptLogin() guiSetInputEnabled (true) views = { { 1515, -1636, 22.153465271, 1550, -1675, 9.881813049316 }, -- first view { 1515, -1636, 22.153465271, 1550, -1675, 9.881813049316 }, -- second view (change coordinats obviously) { 1515, -1636, 22.153465271, 1550, -1675, 9.881813049316 }, -- third, etc timer = false, -- view changing timer will be here current = 0 -- current view will be stored here } -- then views.timer = setTimer(function() local new = views.current == #views and 1 or views.current + 1 -- switch to view 1 if the last view is active or switch to next view setCameraMatrix(views[new][1], views[new][2], views[new][3], views[new][4], views[new][5], views[new][6]) views.current = new -- set new view as current end, 5000, 0) -- when you'll need to stop killTimer(views.timer) showPlayerHudComponent ( "clock", false ) showPlayerHudComponent ( "radar", false ) showPlayerHudComponent ( "area_name", false ) showChat ( false ) guiSetVisible ( GUI_loginWindow, true ) showCursor ( true ) end addEventHandler("onClientResourceStart", getResourceRootElement(), promptLogin)
  21. from this code i don't think there is something wrong
  22. this is the code chat_range=100 addEventHandler("onPlayerJoin",getRootElement(), function () bindKey(source,"u","down","chatbox","u") end) addEventHandler("onResourceStart",getResourceRootElement(getThisResource()), function () for index, player in pairs(getElementsByType("player")) do bindKey(player,"u","down","chatbox","u") end end) function isPlayerInRangeOfPoint(player,x,y,z,range) local px,py,pz=getElementPosition(player) return ((x-px)^2+(y-py)^2+(z-pz)^2)^0.5<=range end function onChat(player,_,...) local px,py,pz=getElementPosition(player) local msg = table.concat({...}, " ") local nick=getPlayerName(player) local r,g,b = getTeamColor(getPlayerTeam(player)) for _,v in ipairs(getElementsByType("player")) do if isPlayerInRangeOfPoint(v,px,py,pz,chat_range) then outputChatBox("[Local Chat]"..nick..": #ffffff"..msg,v,r,g,b,true) end end end addCommandHandler("u",onChat)
  23. because [lua] is not showing getPlayerTeam ... and add after it 'class="kw2">' so re edit your code and rename each getPlayerTeam to getPlayerTeam_1
  24. add after getPlayerTeam any random number to see the code
×
×
  • Create New...