-
Posts
47 -
Joined
-
Last visited
Everything posted by EmBaby85
-
MTA doesn't have a function called "isPlayerInTeams" thats why the script requires an export (Make sure that the resource and the function are already existing.
-
Hello, I'm facing a problem while trying to test my skins or big scripts. When I put them, the localserver loads as if I'm downloading online with slowly network. It was loading as soon as I press restart, is this bug or what? :\
-
KariM you're more than a pro guy, thank you for your help bro! I hope you be one of MTA team in future because you deserve more!!! REALLY THANK YOU <3 <3 <3
-
Its already on server side, sorry I forgot to mention that.
-
Yes i understood you but which way you want to make the GUI VISIBLE, for example when the player hit a marker the gui be visible or else when he click on the ped I already made it onclienthitMarker and it works file, i want it as its. marker = createMarker ( -2151.9 , -136.9, 36.5 - 1, "cylinder", 1.5, 255, 255, 255, 50 ) function openRPGpanel(player) triggerClientEvent(player, "ToggleWindow", player, createwin) end addEventHandler( "onMarkerHit", marker, openRPGpanel )
-
I want to put a button on my gui (RPG dealer). when player click at it he gets 100k $ and lose 50 RPGs (if player doesn't have RPGs then he wont get money) I hope you understand me :\
-
function sellRPGfunc(ammo, money) setPedWeaponSlot ( source, 35, true ) if (getPedTotalAmmo ( source ) >= 50) then givePlayerMoney(source, tonumber(money)) takeWeapon (source, 35, tonumber(ammo)) outputChatBox("Successfully: I've bought "..tonumber(ammo).." from you, Thank you!", source, 70, 205, 20, true) end end addEvent( "SellRPG", true ) addEventHandler( "SellRPG", getRootElement(), sellRPGfunc ) Client: function sell(player) triggerServerEvent ( "SellRPG", getLocalPlayer(), "50","50000" ) end addEventHandler ("onClientGUIClick", closed, sell, false)
-
So you want to make GUI with button, if you pressed it ,it will tell you how much total ammo the ped have , the ped that has been created in the preview script or player? No no, well see. Actually I'm working on RPG dealer system, this ped will sell RPGs (some RP) and I made it so when someone hit the marker, RPG panel pops and I succeded on giving client weapon and take his money, now I want to put new button "Sell RPG" for x amount of money. When I made it to be like that, it worked even while the client hadn't RPG ammo (not the ped)
-
Glad to hear that, you're welcome by the way, what do you mean by this 3rd question, How to make a button that take specifec amount of ammo of X weapon? Which weapon? Oh yeah, now i know but can you tell me how to get player's ammo number? - I put takeWeapon, GetPlayerAmmo and givePlayerMoney but now when I press on it, I get money while I don't have RPGs any solution? :\
-
You're more than an awesome guy, REALLY THANK YOU!
-
KariiM, here's the code. local blip = true local pedss = { {"113", "-2151.9", "-136.9", "36.5", "280", "31", false}, -- RPG dealer } function peds(ped) for k, v in pairs(pedss) do ped = createPed (v[1], v[2], v[3], v[4], v[5]) giveWeapon( ped, v[6], 9999, true ) setElementFrozen ( ped, true ) if blip then createBlip( v[2], v[3], v[4], 34, 2, 0, 0, 255 ) end end end addEventHandler("onResourceStart", resourceRoot, peds)
-
Hello guys, Can someone tell me how should I fix those problems? - function peds(ped) for k, v in pairs(pedss) do ped = createPed (v[1], v[2], v[3], v[4], v[5]) giveWeapon( ped, v[6], 9999, true ) setElementFrozen ( ped, true ) if blip then createBlip( v[2], v[3], v[4], 34, 2, 0, 0, 255 ) end end end addEventHandler("onResourceStart", resourceRoot, peds) - How to make this ped shoots or how to make it doesn't get killed? - How to put an animation or it? "setPedAnimation( ped1, "ped", "WOMAN_walknorm")" Can someone tell me where can I find "ped" and "WOMAN_walknorm"? I want to change them but idk other anim names, I hope you understand me. - How to make a button that take specifec amount of ammo of X weapon? I hope you answer me and Thank you
-
Hello? 6 days passed while I still need help, please someone answer me..
-
Hello, there're four choices to change my font in game "Chat font" I've found a guy using another font, Can anyone tell me how to put my own fonts, please?
-
Well, I don't have the GTA CD at the moment. maybe Re-downloading it will help me right? because I bought new hard-disk and put the old GTA that I was using and the problem is still exists.
-
Hello, I've a fucking nob problem Whenever I enter any server, my FPS 50-70. After about 10 mins my FPS goes to 5-20 wtf?! RAM: 3GB System type: 64-bit operating system Processor: Intel® Core i3 CPU M350 @ 2.27 GHz 2.27 GHz My PC preformance are bad yeah but I was able to play with +50 FPS without any drop and such. Any idea? :\
-
Try few utilities: Links: Tune Up Utilities 2014 Glary Utilities IObit SystemCare Once installed, just click on the option "Turbo", then you decide if you want quality or performance. With this program my fps went from 20-25 to 40-60. Also low down your FX quality and same for resultion. Lower default MTA SA settings: Try To low you GTA/MTA Graphic and make them like this: http://i.imgur.com/SBlhZA0.png (Like me, it helped ) also Remove all your mods cause it low your FPS and Set your router to dynamic ip mode. Download CCleaner: http://www.fileparade.com/listing/12196 ... wgodA3EAZw To clean Your PC. Replace some files: you can fix this problem by replacing the files in your GTA these files will remove the smoke, flares and everything else, which would make your fps drop you can find the files below. Link: https://www.mediafire.com/?cta1bm5on9n9g8u -Use the GTA SA shrinker to shrink the images of gta3.img -Replace the files in models with the one in the models folder in GTA folder. -You can use the fps tweak to lower the draw distance and quality. -Use the black timecyc to make your sky black and will make your fps more stable. Other: Make sure of updated graphic drivers. Lowering GPU 3D settings. Make sure you are not using any 3rd-party HD mod (HD weapons, ENB, etc), so I recommend you a clean GTA install. Make sure that your computer is not a piece of shit. Close all background processes before playing MTA (e.g. Skype, Chrome, etc) to reduce resources usage. Anything above 30 FPS is not damn laggy. Dunno what's wrong with this generation, I've seen people complaining about FPS drop to 30, 40, 50 and call them lagging. Set the standard of which laggy and not (i.e. Below 20 FPS is lagging, higher than that, you shouldn't be complaining) © Community of Intergity and Transparency
-
Finally, I can see everything with its normal texture! thank you for the support. Moderators, you can lock this topic .
-
If i'm not wrong, skin shaders is a system makes players be able to customize their skins and change their colors, making themselves unique (It is like a command, when you do this command the texture of your skin will be changed to the special (new) one.)
-
Currently using it, thank you very much & nice work!
-
Hello dear supporters, helpers and admins. Well, long time ago I was able to see everything well with high quilaty. before about 7 months I went Inactive and when I came back I saw everything bad and with very very low quilaty which makes me really becomes bored from the game. Not sure if "Everything" but maybe only the edit'ed buildings/skins. Actually, I don't know what to do because I tried to re-install my MTA and still the same problem. Screenshot(s): These buildings were much better. and also I noticed that when I download a hydra mode (/vehmods {CIT}) it seems very fucking bad but before that It was sexy and nice :\