Jump to content

kaos057

Members
  • Posts

    24
  • Joined

  • Last visited

Everything posted by kaos057

  1. kaos057

    map zindex

    I just added a keybind to f11 to hide my GUI elements if the map is open so nevermind.
  2. kaos057

    map zindex

    Yes the f11 map. How do I change the priority?
  3. kaos057

    map zindex

    Sorry if this is something that has been brought up before but its impossible to search for anything about the map. Is there a way to use guiBringToFront() with the world map? All my gui elements overlap it. Also is there an event for when the map is opened?
  4. The point would be to add a much higher level of customization. I think it would be awesome to allow players of my server to design their own ped skins and vehicles to use in game without anyone else being able to use the same one.
  5. I think it would be nice to be able to add new models instead of replacing current ones. Like have a certain range of numbers you can use (like 10000 to 10999) to assign completely new txd/dff and have a setting to determine the element type (ped,vehicle,map object, etc). Then use the new model like normal with the current functions.
  6. you sure theres not any other scripts that have anything canceling the onClientVehicleEnter event?
  7. well i got them to work by just adding them to my main meta file which i guess will work but is there another way to do it since there are meta files with each map too that have settings and stuff for the maps?
  8. put line 22 before line 21. if that doesnt work comment out line 23 and see if that allows you to enter. I think switching the lines should work though because you are trying to use the variable "vehicle" before it is assigned.
  9. gate1= createObject ( 969, -488.75805664063, -562.94116210938, 24.461265563965, 0, 0, 180 ) gate2 = createObject ( 969, -488.5793762207, -562.96948242188, 24.451913833618, 0, 0, 0 ) gatecol = createColCircle ( -488.6, -562.94116210938, 24.461265563965, 7 ) skins = { [ 46 ] = true, [ 47 ] = true, [ 48 ] = true, [ 59 ] = true, [ 66 ] = true, [ 71 ] = true, [ 113 ] = true, [ 120 ] = true, [ 124 ] = true, [ 147 ] = true, [ 163 ] = true, [ 164 ] = true, [ 171 ] = true, [ 172 ] = true, [ 211 ] = true, [ 217 ] = true, [ 240 ] = true, [ 249 ] = true, } function opengates(thePlayer) local skin = getElementModel(thePlayer) if ( skins[skin] ) then moveObject (gate1, 5000, -495, -562.94116210938, 24.461265563965 ) moveObject (gate2, 5000, -481, -562.96948242188, 24.451913833618 ) end end addEventHandler( "onColShapeHit", gatecol, opengates ) function closegates(thePlayer) local skin = getElementModel(thePlayer) if ( skins[skin] ) then moveObject (gate1, 5000, -488.75805664063, -562.94116210938, 24.461265563965 ) moveObject (gate2, 5000, -488.5793762207, -562.96948242188, 24.451913833618 ) end end addEventHandler( "onColShapeLeave", gatecol, closegates )
  10. I downloaded a couple maps from here and cant figure out how to use them. They wont show up in the admin map manager and they dont show up in the map editor (not that i want to edit them I just wanted to see if they could be loaded there). I changed the meta file of each map to include gamemodes="mygamemode" and removed any spaces in the map names etc. But it looks like the server does not know they are there. What am I doing wrong?
  11. I noticed that on some roads you don't go as fast as on others. I am not talking about dirt roads or anything. I'm talking fully paved roads. I could be going like 120mph down a road then all of a sudden speed drops to 100 as soon as the road switches to another road then jumps back up to 120 as soon as im off that road. Is this intentional or a bug or ? anyone know?
  12. I'm using 1.3 I don't think its bugged either. I think the Wiki is wrong.
  13. and source is the player element i like the way it works better than the way the wiki says its supposed to work lol
  14. ok so its bugged right?
  15. the server side function onChatMessage does not seem to be sending the right parameter for player/resource. When a regular message is received, the player parameter is nil. When a message is received from team, the player parameter is the team element. Is this supposed to be like this or is it a bug?
  16. In my post I said I already did that. It does not scroll it only selects it.
  17. Is there a way to make a gridlist scoll to the bottom? I tried guiGridListSetSelectedItem which does select but how would i also scroll to the selected item?
  18. check the repair field type in the database and make sure it is not set to int. If it is int it wont work because you are storing it as a string.
  19. kaos057

    MySQL Login

    So what you are saying is that you want to create the username/password in mysql and then have a login that checks that data rather than the built in login functions of MTA? It sounds to me like you dont know the first thing about sql databases so I would highly suggest just using a simple login GUI to use the login/register commands. If you really must use MySQL for this you will want to make sure the password is encrypted when it is stored in the database and you will also need to encrypt the password with the same hash when it is submitted for comparison.
  20. Yes I know that. My question was how to do that if its possible. You cant cancel the server sided damage event as far as i know. So is there any other way to completely cancel damage on server side?
  21. I am trying to make a full MMO with levels, custom armor/weapons, etc. To do this I need to disable default damage and handle it myself in order to take into consideration extra hitpoints and damage modifiers from the custom gear. I know I can disable the damage on client side using onClientPlayerDamage which works for any self inflicted damage but the server side still does damage. So is there any way to either stop all damage completely or somehow make a player have more hitpoints than others?
  22. So then if I have a txd/dff file that works in regular GTA:SA It should work using the engine functions? Like I said I just cant get it to work unless I change only the txd to a txd I made myself using the original txd.
  23. So then you cant change ped models? just textures?
  24. I started messing around with ped skins trying to get a female cop. I found a couple nice ones that seem to be used in SAMP but dont work in MTA. So does that mean they are different and are not compatible?
×
×
  • Create New...