Jetpack Issues. -
MP2 - 19.05.2012
Short and simple: if you take a jetpack off by pressing ENTER it stays there until you die. This can cause problems in the following scenario:
A server has a deathmatch at Grove Street. You get a jetpack outside of DM and take it off at Grove Street, then you can get a jetpack during the DM.
I know you can script around it by setting their special action to 0, but would a ClearJetpacks() or whatever be possible in a future SA:MP version?
Re: Jetpack Issues. -
Si|ent - 21.05.2012
Just run your deathmatch in a different world/universe. (Presuming by a deathmatch you mean some kind of gamemode seperate to the main server mode) It'll avoid that problem and many others. Though where I spend all my killing time vacated jetpacks dont stay forever, they dissapear after a period.
Re: Jetpack Issues. -
Potassium - 21.05.2012
Only the person who spawned the jetpack can see it, FYI. No one else can.
Re: Jetpack Issues. -
Nozomi_Sasaki - 09.06.2012
Depending on the way the user gets the jetpack it should be scriptable for it to disappear after a while.
You can also put a restriction of the jetpack and script you can not fly there thus preventing the whole problem.
I think you should give more info about that scenario if you would want better advice regarding it.
Re: Jetpack Issues. -
ikey07 - 09.06.2012
Try OnPlayerUpdate check if player press enter and check if player has jetpack and put return 0;
maybe works same as with night vision glasses
Re: Jetpack Issues. - [MM]IKKE - 09.06.2012
Quote:
Originally Posted by Potassium
Only the person who spawned the jetpack can see it, FYI. No one else can.
|
I saw some jetpacks before...might it be possible it DOES spawn when the guy who spawned it is within stream rate?
Re: Jetpack Issues. -
Revo - 10.06.2012
Quote:
Originally Posted by [MM]IKKE
I saw some jetpacks before...might it be possible it DOES spawn when the guy who spawned it is within stream rate?
|
This is not possible unless the server you played on scripted it this way.
As for the jetpacks. It's relatively to make a
pawn Код:
COMMAND:removejetpack(playerid, params[]){ SetPlayerSpecialAction(playerid, SPECIAL_ACTION_NONE); }
Eventually, using onplayerupdate you can disable the use of removing your jetpack with enter.
Re: Jetpack Issues. -
MP2 - 12.06.2012
Detecting a jetpack in a DM mode and removing it under OnPlayerUpdate seems the best bet.
Re: Jetpack Issues. -
Jhero - 13.06.2012
It depends on your script on how the jetpack spawns, despawns, and visible. Like, I know some scripts were admin can give you a jetpack and if you leave it someone else can take it and it goes away after some time without being used.