littlewhitey's Servers Forum (SA-MP/VC-MP/MTA/Zomboid)

Recycle Bin => Suggestions (2008-2011) => SA-MP Archive (2015) => SA-MP Archive => Recycle Bin => Rejected Suggestions => Topic started by: BiG_Sm0k3 on May 19, 2010, 01:36:05 AM

Title: Suggestion About Duelrespawn command
Post by: BiG_Sm0k3 on May 19, 2010, 01:36:05 AM
A summary of the changes that you want : When you use /duelrespawn you can respawn in DA if you die after a fight , after this it turns off automatically, would be better if you respawn there if you have it turned on until you re-use the cmd , and not to auto turn off after 1 fight.
The advantages of this change happening Better use of the command + people don't need to use it every time they are going to duel
The disadvantages of this change happening  Might be abused to be set as a spawn position and use it to spawn there instead of spawning randomly.But with the idea im going to give in script snippet this will be avoid
Any script snippets which provide the feature that you want I am not going to make the full script but to give some functions that might help:
E.g.:
[/list]
Code: [Select]
new DuelRespawnVar; // or your duel respawn function
public OnPlayerDeath(playerid, killerid, reason)
{

if(IsPlayerInArea(playerid,2546.4780, 2506.7131, 2401.8770, 2351.9429) && DuelRespawnVar == 1) // 1 On , 0 Off
{
        SetPlayerPos(playerid,2490.4338,2356.7117,4.2109);
        SetPlayerFacingAngle(playerid,272.5219);
        // other functions giveplayerweapon (respawn weps ) etc...

}
else if(!(IsPlayerInArea(playerid,2546.4780, 2506.7131, 2401.8770, 2351.9429)) && DuelRespawnVar == 1)
{
//you set the positions to random again or if the player is donator set it to normal respawn position
DuelRespawnVar = 0;
}
return 1;
}
Title: Re: Suggestion About Duelrespawn command
Post by: Me[T]aL_ on May 19, 2010, 02:34:24 AM
this would be nice
i would also want some tele to da That can only take you there if you arent beign shot at xD
anyhow +1
Title: Re: Suggestion About Duelrespawn command
Post by: Swanson on May 19, 2010, 04:21:33 AM
+1

@Exodus

-1, please no teles because this will be abused anyhow. This could be used to avoid being chased by people before they even have a chance to shoot at you. This is something that LVP has and it's the gayest feature of that server, and we don't want this. So stop being lazy and drive/fly/walk.
Title: Re: Suggestion About Duelrespawn command
Post by: Roach on May 19, 2010, 08:57:25 AM
I don't think this will be abused.
Only by n00bs perhaps.
People can also choose to spawn as a cop or medic @ the police station or hospital.
Those places are less safer than @ the duel arena because players can use there firearms, but when there are people present @ the duel arena and a player wants to leave that place, is the player sure nobody with full armour & all will chase that guy?

If you take time and think about it, it can be abused anyway.
you go to duel arena, write duelrespawn, leave kill & get killed, respawn at duel arena and write duelrespawn again????

That code: IsPlayerInArea sure might come in handy!!!
Title: Re: Suggestion About Duelrespawn command
Post by: j.king on May 19, 2010, 09:14:57 AM
Yes, about time this gets fixed and the fact that you provided your own script deserves my +1 ;)
Title: Re: Suggestion About Duelrespawn command
Post by: AJP on May 19, 2010, 09:19:43 AM
This is nice, voted yes.
Title: Re: Suggestion About Duelrespawn command
Post by: MidNight on May 19, 2010, 02:46:28 PM
woow cool men
http://forum.littlewhiteys.co.uk/index.php/topic,12470.0.html (http://forum.littlewhiteys.co.uk/index.php/topic,12470.0.html)
Title: Re: Suggestion About Duelrespawn command
Post by: Alex0 on May 19, 2010, 03:25:59 PM
woow cool men
http://forum.littlewhiteys.co.uk/index.php/topic,12470.0.html (http://forum.littlewhiteys.co.uk/index.php/topic,12470.0.html)

Maybe the people, don't read your post, because man you are really arrogant and complaining :-\
Title: Re: Suggestion About Duelrespawn command
Post by: Daniel. on May 19, 2010, 08:51:05 PM
woow cool men
http://forum.littlewhiteys.co.uk/index.php/topic,12470.0.html (http://forum.littlewhiteys.co.uk/index.php/topic,12470.0.html)

Maybe the people, don't read your post, because man you are really arrogant and complaining :-\

That made me lol :P
Title: Re: Suggestion About Duelrespawn command
Post by: !!Puffin on May 20, 2010, 02:42:19 AM
woow cool men
http://forum.littlewhiteys.co.uk/index.php/topic,12470.0.html (http://forum.littlewhiteys.co.uk/index.php/topic,12470.0.html)

Maybe the people, don't read your post, because man you are really arrogant and complaining :-\
lol
this is nice for that ones who duels(not me)
Title: Re: Suggestion About Duelrespawn command
Post by: BikeDriver on May 20, 2010, 04:40:26 AM
what about:

just respawn everybody who dies in DA automatically in DA? no command needed. kk?
Title: Re: Suggestion About Duelrespawn command
Post by: Simon on May 20, 2010, 08:46:52 AM
what about:

just respawn everybody who dies in DA automatically in DA? no command needed. kk?

By "in DA", do you mean anyone "dueling" or anyone "in the area"? The first is easier and more efficient than the last.
Title: Re: Suggestion About Duelrespawn command
Post by: BikeDriver on May 20, 2010, 11:42:22 AM
dont rly give a fuck ;D

but wait... i would say: respawn everybody because some guys db down there or die because of car explosion or because they did /kill to get new amo or stamina back. so it would be MUCH better if everybody who dies there does respawn there too.
Title: Re: Suggestion About Duelrespawn command
Post by: Alex0 on May 20, 2010, 02:40:07 PM
dont rly give a fuck ;D

but wait... i would say: respawn everybody because some guys db down there or die because of car explosion or because they did /kill to get new amo or stamina back. so it would be MUCH better if everybody who dies there does respawn there too.

Ya, good idea
Title: Re: Suggestion About Duelrespawn command
Post by: dugi on May 21, 2010, 04:41:58 PM
Until a proper solution for this duel respawn thing has been worked out, I've temporarily added /dr as an alias to the /duelrespawn command.
Title: Re: Suggestion About Duelrespawn command
Post by: Sadik on May 21, 2010, 05:52:59 PM
+1 Sometimes I do /duelrespawn then after it I forget so +1
Title: Re: Suggestion About Duelrespawn command
Post by: Alex0 on May 21, 2010, 08:15:42 PM
Until a proper solution for this duel respawn thing has been worked out, I've temporarily added /dr as an alias to the /duelrespawn command.

Cool, /dr is more easy to remember and more fast to write  :P