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
-
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:
- IsPlayerInArea(playerid, Float:max_x, Float:min_x, Float:max_y, Float:min_y)(after player dies): Will be used if the duelrespawn command is ON and will see if the player is in DA position and will auto spawn him there , if not it will just set his spawn to normal and turn the duelrespawn OFF
E.g.:
[/list]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;
}
-
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
-
+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.
-
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!!!
-
Yes, about time this gets fixed and the fact that you provided your own script deserves my +1 ;)
-
This is nice, voted yes.
-
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)
-
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 :-\
-
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
-
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)
-
what about:
just respawn everybody who dies in DA automatically in DA? no command needed. kk?
-
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.
-
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.
-
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
-
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.
-
+1 Sometimes I do /duelrespawn then after it I forget so +1
-
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