Forum: IndexRecent PostsCalendarSearch
Rate: +0 / -0 Tags: 1x Ammo, 1x Driveby, 1x Suggestion
Pages: [1]
  Print  
Author Topic: Drive-by ammo  (Read 1765 times)
Mr_Elusive
Guest
« on: January 09, 2008, 10:49:27 AM »

  I have been trying to make such a system in my TDM script. You know, since it is not possible to drive-by without sub-machine guns in SA-MP, as a passenger of course. What about a system checks player's weapons if player enters a car as a passenger, and gives him a SMG or Tec9? Like, if a passenger has 400 M4 ammo, script checks it and gives the player 400 SMG ammo until he leaves the car. If a passenger already has a SMG, script checks it and gives no ammo at all. This should work with only passengers, of course.
Logged
[GM] Elyks

GTA:T Team
Gang:
GameMaster

Ghetto Star
******

Karma: 51
Offline Offline

Posts: 4597



View Profile
« Reply #1 on: January 09, 2008, 01:45:31 PM »

Is this a suggestion for gtat, or a scripting question?
Logged
Mr_Elusive
Guest
« Reply #2 on: January 09, 2008, 01:50:34 PM »

  It is a suggestion for GTA-T but, also could be a scripting question if you please. tongue
Logged
[GM] Elyks

GTA:T Team
Gang:
GameMaster

Ghetto Star
******

Karma: 51
Offline Offline

Posts: 4597



View Profile
« Reply #3 on: January 09, 2008, 01:55:55 PM »

okay, i would decline the suggestion, since you just can buy a mp5, if you want to driveby. smiley

For scripting:
I think its not possible, since gta doesnt allow to change the weapon, while you are in a vehicle, so if you enter without smg you wont be able by script to change the players weapon to smg without removing the player from the vehicle.
Logged
Mr_Elusive
Guest
« Reply #4 on: January 09, 2008, 02:03:31 PM »

  So, it will be possible in MTA then. Maybe this topic should be moved to Future board.

  Actually, I think it is possible in SA-MP but, not worth to do it if it is necessary to remove player from the vehicle.

  I posted this suggestion because I remember there is some people wants maximum weapon slots as 4 or hidden SMG pickups, just to drive-by as a passenger.
Logged
[GM] Elyks

GTA:T Team
Gang:
GameMaster

Ghetto Star
******

Karma: 51
Offline Offline

Posts: 4597



View Profile
« Reply #5 on: January 09, 2008, 02:08:25 PM »

hmm, i tried a driveby and antidriveby script sometime ago in pawno and it wasnt possible.
i dont know, if it works in mta, since you also cant change the weapon (as player) if you are in a vehicle and want to driveby.
Logged
Mr_Elusive
Guest
« Reply #6 on: January 09, 2008, 02:41:46 PM »

  Actually that wasn't my point. But it is my fault because I couldn't explain it.
  In MTA, you won't need a sub-machinegun to perform a drive-by as a passenger. Since it it possible to drive by with rocket launchers.
Logged
[MpS] Milten
GTA:T Scripter
Global Board Moderator
Gang:
MpS - Multiplayer Skillaz

Soldier
*****

Karma: 29
Offline Offline

Posts: 1419


Everybody gotta ban sometime


View Profile
« Reply #7 on: January 09, 2008, 05:26:44 PM »

sa-mp and mta are still a little buggy in this side of gta sa - callbacks are not called properly, you cant switch weapons, you can't use one and so on, too many bugs to really think about _that_ idea
Logged

If I have helped, click "applaud" near my avatar, thanks!
Quote
<aru>   In an ideal world, with mythical creatures and infinite energy, extended functions such as "GetConnectedPlayers()" will be implemented in a seperate library that may have a name such as "Standard SA:MP Pawn Library".
(Veritas) if u float then stop killing me
(sedimin) shit, you killed me when you were dead

What does this means rofl rofl, blub blub?
Pages: [1]
  Print  
 
Jump to:  

Shoutbox:

backup content

Time: 02:52 • Chatwww.gtat.org • Hello, please login/register.
en de pl
pt it tr fr es ru