Jump to content

Atti

Members
  • Posts

    25
  • Joined

  • Last visited

Everything posted by Atti

  1. Wooohooooooo, that's fantastic: http://development.mtasa.com/index.php? ... ePedUseGun
  2. 1. You can't properly scroll the console to read old messages: when anyone writes anything, your console will be scrolled down, so you can see the new, SOOOOOOO IMPORTANT n00bish message and you must scroll again all the console... before another n00b posts anything, of course 2. Almost no one in Italy plays MTA. (It's true, Italian SA-Mp players = about 20 times MTA players) Why? Do they hate getting no lag? No. Do they hate changing their client? No. Do they hate can not glitch at all? No, they can. So... why? They haven't got a proper SERVER BROWSER. MTA is missing a LOT of players, that would love this client... if there was a MTA server browser OUTSIDE the game (MTA's, not ASE's or something similar). I'm not taking you for the ass (Italian expression, don't try to translate it ), almost everyone that I asked - call them n00bs, if you want, but there are 90% of players - after I explained every MTA's better thing answered that "MTA is HEAVY, and it has no server browser." /if there won't be a server manager in the very next releases, nobody in Italy will join MTA/ /if nobody will join MTA, I will have no Italian players to play with/ /If there won't be any new Italian player, I'll hate playing MTA: it will be sooooo boring playing with myself (STOP PLAYING WITH YOURSELF, huh?)/ /so, i will left MTA/ /so, there will be even less Italian players in MTA: now there is only one Italian server, that hasn't payed his hoster for about 4 months, so it will desapper soooo soon. Bye bye./
  3. Has GTA4 any scripting ability? However, i agree on Mafia in Liberty City, IV doesn't seem to be a GTA game.
  4. Yeah, of course they will BE ABLE. But if you want a ped attack a SPECIFIC player, could you do it? There're actually too many "get", i hope dp3 will have something more.
  5. I was opening a topic to ask the same thing... Peds will be only dummies with a stupid IA or will they be able to do something particular, i.e. attacking a specific player with a specific weapon?
  6. Atti

    Loading

    I've got no problems playing, i get 40+ fps stable. The problem is the loading time of the main menu, that is unusually long. Is there a way to know at least WHAT slows it down so much? EDIT: 99% solved. Let me talk with Tiduzzo on MSN and if it's ok i'll post the solution (re-install OWNz, however).
  7. Atti

    Loading

    Ok, now I've noticed a thing. There's my friend that loads MTA in 10-15 seconds. He's got a dualcore vs my pentium 4, and 2 GB RAM vs my 1 GB. I dunno how is the situation abroad, but here in Italy a lot of players have not got a dual core. Could be this the problem?
  8. Atti

    Loading

    Before the MTA release Blokker_1999 said that the ALT+TAB feature was useless because "a recent PC can load GTA:SA in 20 seconds". Yeah, it's true, you can with GTA:SA, but not with MTA. Or at least, my pc needs at least a minute / half and a minute to entirely load everyting. And then... you should select the server and wait, wait, wait. So, with MTA using internal server browser I need about 2 minutes to play, using ASE i need half and a minute. In SA-MP in 30 seconds you can play, and this is a great problem for the hurried italian community (perhaps they'll lose their taxi waiting 30 seconds more), and every italian server is sorrowfully EMPTY. So, is there a way to reduce a bit this loading time? Or at least can someone explicate me why MTA needs so much time to load? Thx.
  9. Download these 100 images would be less funny. ^^
  10. Atti

    HELP!!

    You could set a value to getTickCount() when a player press any control, and then compare it with a getTickCount() when you type /idle. I dunno if it would lag.
  11. Please post the exact error and find the line of it. EDIT: addEventHandler( "F4", root, OnPlayerDeath ) This is nothing. bindKey(source,"F4","down",playerWannaSpawn) Are you sure that the source parameter is exact? If you've seen this function in my mode "Massacre DM", please send me your MSN and let's talk about it.
  12. Atti

    [REQ] NPCs

    What do you think of this: http://development.mtasa.com/index.php? ... _functions Could we expect NPCs in the near future?
  13. Useless page. I know functions, i dunno WHAT are sin and cos.
  14. I've got no problems copying that code. I just would like to understand why an x coord reduced by the sin of the radius of the Z rotation is placed in fornt of the player.
  15. These math functions are used to get a position in front of a player, by getting his rotation, i.e. for spawning ramps. Now i need them in my script, but i don't like using things that i don't understand, so can you simply explcate me how these work? Or at least what values should i pass to the functions. Thx a lot if you can do it, i'm really a n00b in maths.
  16. Yeah, solved. TriggerClientEvent() can do the sync that i want.
  17. Can I sync a variable between server and client? i.e. i want to create a server-side timer with a variable that is passed to my client-side script, where it's used for a GUI. So --server side: on start -> var=500 every second -> var=var-1 --client side: every second -> print(tostring(var)) Actually with this code i get "nil" client-side. How can I do?
  18. Atti

    ACL

    I'll release a readme, then. Only one question: if I set the permission for a command (i.e. "command.setrounds") will it surely work? EDIT: Solved, thx.
  19. Atti

    ACL

    Is there a way to get the ACL group of a player that is logged in? I can get his account, i can get the ACL associated with it... but i can't know which group is this ACL in?! I can check if this acl is equal to anyone in the group "Admins", for example. But if I want that an Admin, a Moderator and also a SuperModerator can do it, how can I do? The real problem is that i've got a command and I don't want that the user must modify his acl.xml because of this mode. So I just want everyone that isn't a guest or a common user can use that command...
  20. Atti

    Serious graphics bug

    I get this everytime i enter a bike, dunno why.
  21. You must load TXD before DFF, you'll solve the second problem. For the drivers in the center of the car... i dunno.
  22. Atti

    Big bike bug?!

    I've tried... but i'm spawning at 1,1,1 and also when i try to spawn a BMX from the admin panel it does this bug. EDIT: I ask you only one thing. Try it and report me if you get any bugs. I actually CAN'T cycle in MTA, i always get this crash. It takes only 5 minutes, plz try it!
  23. Atti

    Big bike bug?!

    function bike_setupRandomSpawn( ) local bike_vehicleModel = 400 if not bike_vehicleSpawn then bike_vehicleSpawn = { {x=1, y=1, z=1, r=1} } end local rnd = randInt(1, #bike_vehicleSpawn) fadeCamera ( source, true, 2.0 ) local playerveh = createVehicle( bike_vehicleModel, bike_vehicleSpawn[rnd].x , bike_vehicleSpawn[rnd].y, bike_vehicleSpawn[rnd].z, 0, 0, bike_vehicleSpawn[rnd].r ) setTimer(spawnPlayer, 500, 1, source, bike_vehicleSpawn[rnd].x , bike_vehicleSpawn[rnd].y, bike_vehicleSpawn[rnd].z+3 ) setTimer(warpPlayerIntoVehicle, 1000, 1, source, playerveh ) end addEventHandler("onPlayerJoin", getRootElement(), bike_setupRandomSpawn) I removed everything that is not necessary. Here's the problem: the player spawns, but after few seconds the game stops refreshing, and all slowly become white (such as with an over-50 gravity). Music continues playing, but tha player can't move. Such a strange problem... A lot stranger, when i managed to spawn out of my bike (a BMX). Taah-daah! Everithing goes perfect. And when I spawn a BMX with my admin panel and I enter it... 5 second and again that bug! I dunno if it has been already asked, but I haven't found anything. Can anyone help me?
  24. Can I do something like this? I'm really a n00b of modding in gta, as 'modelid' (see http://development.mtasa.com/index.php?title=EngineImportTXD) should i give the weaponid, i.e. 24 for deagle? EDIT: Found in weapon.dat (i.e. 348 for the deagle) EDIT2: I would already know if I actualli can EDIT3: FInally, it not seems to work: function GsetupWeaponSelection() [...] setTimer( loadModifiedKatana, 1000, 1 ) end addEventHandler("onClientResourceStart", getResourceRootElement(Cresource), GsetupWeaponSelection) function loadModifiedKatana() txd = engineLoadTXD ( "weaponz/katana.txd" ) if txd then outputChatBox ( "> succesfully loaded katana txd" ) end engineImportTXD ( txd, 339 ) dff = engineLoadDFF ( "weaponz/katana.dff", 0 ) if txd then outputChatBox ( "> succesfully loaded katana dff" ) end engineReplaceModel ( dff, 339 ) outputChatBox ( "> replacing the katana models" ) end In chatbox it appears "succesfully loaded blah", but it doesn't seems to really replace dff or txd. EDIT4: "This function replaces the given model in the given model ID with the DFF file passed. This function supports vehicles and objects at the moment." Sorry again, a mod can close.
  25. I just saw F11 map and i would know if it's scriptable and if so, how i do it. I've also noticed that this key isn't in this page: http://development.mtasa.com/index.php?title=Deathmatch_Client_Manual, so is it binded by a default resource? I can actually use it in all servers...
×
×
  • Create New...