[DS] Desert Storm GTA Clan
Would you like to react to this message? Create an account in a few clicks or log in to continue.

[DS] Desert Storm GTA Clan


 
HomePortalGallerySearchLatest imagesRegisterLog in

 

 RPG's Problem

Go down 
5 posters
AuthorMessage
Darkness
Legend
Darkness


Posts : 416
Join date : 2012-06-30
Age : 28
Location : Latvia
Job/hobbies : student/basketball

RPG's Problem Empty
PostSubject: RPG's Problem   RPG's Problem I_icon_minitimeSat Nov 24 2012, 15:50

As almost everyone knows, 90% of rpg users dont use this weapon on vehicles(tanks,hydras) but on on-foot players what ruins everything..Half of my deaths are from RPG's..

Need something like auto kill when players shoot's on on-foot players..

If any ideas, feel free to post here..

Thanks!
Back to top Go down
http://s12.postimage.org/4fmddowqj/image.png
Spike
Legend
Spike


Posts : 638
Join date : 2012-08-03
Age : 26
Location : Pasadena , California
Job/hobbies : Studying , movies , hanging out.....

RPG's Problem Empty
PostSubject: Re: RPG's Problem   RPG's Problem I_icon_minitimeSat Nov 24 2012, 16:47

Well..... I think this would work....

The RPG Rockets must reduce only vehicle's health , not player's health.
Therefore , Even if they use it on players who wander around , It would create no effect....But if they use it on vehicles , It would reduce the vehicle's health....

Now , I don't know how to limit it to Rhinos and stuff.... but this could be a temporary plan..
Back to top Go down
Warrior
Legend
Warrior


Posts : 1176
Join date : 2012-07-01
Age : 110
Location : On Mars playing with monkeys.
Job/hobbies : Playing samp on DS

RPG's Problem Empty
PostSubject: Re: RPG's Problem   RPG's Problem I_icon_minitimeSat Nov 24 2012, 16:48

They can do an easy check ,like:

When a player dies(OnPlayerDeath) check to see if he got killed by an RPG if that is true, check to see if the killerid was on foot(!IsPlayerInAnyVehicle), if that is true then kill him or whatever, lol.

EDIT:

My small test one:

Code:
public OnPlayerDeath(playerid, killerid, reason)
{
   if(GetPlayerWeapon(killerid) == 35)
   {
       if(!IsPlayerInAnyVehicle(playerid))
       {
           SendClientMessage(killerid, -1, "Fuck you, you RPG user!");
           SendClientMessage(playerid, -1, "Asshole got busted!");
       }
   }
   return 1;
}

Small example.
Back to top Go down
Criss_Angel

Criss_Angel


Posts : 986
Join date : 2012-07-07
Job/hobbies : In front of my PC :P

RPG's Problem Empty
PostSubject: Re: RPG's Problem   RPG's Problem I_icon_minitimeSat Nov 24 2012, 17:22

How about a cmd called /protectionon and /protectionoff,this command will give protection to the player from others who fire RPG'S at him or her,and thus RPG can be only used against tanks,hydras etc.Smile

Thank You.
Back to top Go down
http://www.itechno-gamester.blogspot.in
Khách vi
Guest




RPG's Problem Empty
PostSubject: Re: RPG's Problem   RPG's Problem I_icon_minitimeSun Nov 25 2012, 00:30

+1 for Einstain suggestion.
Back to top Go down
Ultimate[R]

Ultimate[R]


Posts : 540
Join date : 2012-08-02
Age : 25
Location : India
Job/hobbies : Studying

RPG's Problem Empty
PostSubject: Re: RPG's Problem   RPG's Problem I_icon_minitimeSun Nov 25 2012, 14:31

[DS]Warrior wrote:
They can do an easy check ,like:

When a player dies(OnPlayerDeath) check to see if he got killed by an RPG if that is true, check to see if the killerid was on foot(!IsPlayerInAnyVehicle), if that is true then kill him or whatever, lol.

EDIT:

My small test one:

Code:
public OnPlayerDeath(playerid, killerid, reason)
{
   if(GetPlayerWeapon(killerid) == 35)
   {
       if(!IsPlayerInAnyVehicle(playerid))
       {
           SendClientMessage(killerid, -1, "Fuck you, you RPG user!");
           SendClientMessage(playerid, -1, "Asshole got busted!");
       }
   }
   return 1;
}

Small example.

Razz Nice messages to be send to the killer. And +2 scores loss for the killer Razz
Back to top Go down
Sponsored content





RPG's Problem Empty
PostSubject: Re: RPG's Problem   RPG's Problem I_icon_minitime

Back to top Go down
 
RPG's Problem
Back to top 
Page 1 of 1
 Similar topics
-
» I have a problem
» what is the problem ?
» Bombers Problem
» Problem with my signature
» Server Problem

Permissions in this forum:You cannot reply to topics in this forum
[DS] Desert Storm GTA Clan :: General :: General :: Suggestions-
Jump to: