Jump to content

50p

Retired Staff
  • Posts

    2,973
  • Joined

  • Last visited

  • Days Won

    3

Everything posted by 50p

  1. Try to give yourself Sniper Rifle and run out of all the ammo, but do NOT release right mouse button. You'll see what I mean. If you run out of ammo game should switch to different weapon slot instead of just allowing you to view through the scope.
  2. 50p

    Custom map objects.

    Try to create the object after a few seconds, or using command.
  3. At the near end of the file, you'll find comment Just folow the code below. If you've played stealth (obviously you have) then you must have use the goggles (infrared). You can see where the ENEMY and TEAM players' are, soo you can also create image above them using the same method.
  4. guiCreateStaticImage, guiSetVisible, getElementPosition, bindKey, addEvent, addEventHandler, triggerEvent These are the most important functions you'll need to create what you want to. Take a look in gamemode 'stealth'. To be more accurate 'gadgets_client.lua'
  5. Try to do what I did: 1. make a global variable (at the top of script): local image 2. when you create static image use this variable to store the image element in it: image = guiCreateStaticImage(....) 3. if you want to delete the image use the "image" element as param in deleteElement func: deleteElement( image ) I had problems with onClientPlayerWasted and every event, but I tested events using functions that have the same param as the event. So if you want to use the event eg. onClientPlayerWasted add function to it with the params that event have (even if you don't need to use them): function funcName( killer, weapon, bodypart ) -- I don't use: killer, weapon, bodypart... but it must be included deleteElement( image ) end addEventHandler( "onClientPlayerWasted", getLocalPlayer(), funcName ) Note: This example is client-sided.
  6. 50p

    Custom map objects.

    You can always use MEd, built-in map editor in MTA:Race or wait until MTA:DM will have fully working map editor.
  7. Af far as I know, destroyElement should delete the image. destroyElement is used to remove vehicles, textdisplays, etc. Everything what's "element"
  8. I just made an example on wiki guiCreateStaticImage page: http://development.mtasa.com/index.php? ... ge#Example
  9. 50p

    Custom map objects.

    I guess it's same for objects. Try it yourself and see.
  10. 50p

    Welcome Message

    What server have you tested it? On XP I have to create .zip for the resource! If I have to correct something while testing I have to update the whole .zip file! If I don't have the .zip file, server will not detect the resource at all. If I want to start the resource using "start " in server console I see this message: If you create .zip, you won't get that message and resource loads correctly. If I remove the .zip while the resource is loaded and I type "refresh" in console, I see: So why you're saying that we don't have to create .zip?
  11. I just played MTA and stopped to report the bugs. 1) Sniper Rifle - It's synced and has no issues except one. When you use the scope (right click) and run out of ammo - keep holding right mouse button - you will be to use the scope like camera. No black frame is show, so you can see all of the screen and you can look around like if you were using the sniper rifle but can't shoot since you have no ammo. Release the button and you'll go back to the normal view. 2) 'Spawn & Die' - I called it like so, because you die just after you get spawned. It happened to me while playing Battlefield69 gamemode. Don't know if this is caused by a lag, but I also know that it shows that somebody killed me (most often headshot me).
  12. 50p

    Armor bar

    Read my first post and you'll see what I mean. I'd like to see one bar over another, it wouldn't look ugly at all.
  13. I have the same problem, but I tried this: 1. Ran my own server 2. Connected to my server (127.0.0.1:port) 3. Logged in as an Adnin (/login ) 4. Ran "broph" recource using "Panel Admin" (by pressing 'p') Just after I started the recource I could normally walk, there were vehicles, blah blah blah. Then I started "battlefield69" recource stopped the "broph" and I could play the Battlefield69. I don't know what to do if you connect to a server that you aren't an Admin.
  14. 50p

    Armor bar

    I haven't noticed that! It should be more visible.
  15. 50p

    Armor bar

    I don't like that we can't see players' armor bar. We can see their health bar only. You could make 2 bars in 1. I mean see 1 bar but it has to run out twice. If you have armor you could have white bar on top of the green (health) bar. Example:
  16. You have to find the folder where you installed the game. Find the folder where gta_sa.exe is located.
  17. Or there is a script which disables HUD.
  18. This is what we did! Don't you see what DJS said? That happens to many users, including me.
  19. MTA Team is now working on next update, so the server might work for them only... Stay tuned and maybe you'll see new version released soon.
  20. It is not so expensive now, I'm gonna buy a used one. But I have no idea when that will happen I am not going to buy game and wait untill full MTA release, since there is no fix for the Serial No., yet.
  21. This was the first thing that I made, but installer freezed like DJS said Maybe because we don't have any Serial Number Look: http://img88.imageshack.us/img88/4173/nonekc6.jpg I think that installer freezes because it tries to get the Serial no. but it can't get the serial, since we don't even have it!
  22. Yeah, I woudn't prefer to install it in GTA folder since it removes everything that it is installed in. Even if you install it in your photos folder all the photos will be removed! Now I can't find my DVD with the game and I can't even try to install MTA since I don't have my GTA installed!
  23. AFAIR SQL doesn't need any connection, use Query func to get anything you want.
  24. I have got the same problem. I mean, I tried to register first time with login "50p", quick website was shown and redirected me to the register website, than I tried to register with "50pence", I successfully registed myself. I tried to install MTA and chose the second option (If you have an account, blah blah blah...) it didn't work. I mean when I click Next, it freezes for about 10 sec. and nothing happens, no windows appear. I tried to install with the 3rd option, and I finally installed it. But when I try to run, the window with "Invalid Serial" appears! What the hell?!
×
×
  • Create New...