Poll

Do you like the Idea?

Yes
No
I don't care

Author Topic: Suggestion About Duelrespawn command  (Read 5633 times)

0 Members and 2 Guests are viewing this topic.

Offline BiG_Sm0k3

Suggestion About Duelrespawn command
« 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]
    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;
    }

      Offline Me[T]aL_

      • Fisher
      • ******
      • Posts: 1927
      • Que Pasa Am Mexican
        • Awards
      Re: Suggestion About Duelrespawn command
      « Reply #1 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

      Offline Swanson

      Re: Suggestion About Duelrespawn command
      « Reply #2 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.

      Offline Roach

      • Big Fish
      • ****
      • Posts: 285
        • Awards
      Re: Suggestion About Duelrespawn command
      « Reply #3 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!!!

      Offline j.king

      • VC-MP Retirees
      • SA-MP Retirees
      • *
      • *
      • *
      • Posts: 1459
        • Awards
      Re: Suggestion About Duelrespawn command
      « Reply #4 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 ;)


      Offline AJP

      • SA-MP Retirees
      • *
      • *
      • Posts: 4900
      • N1158Q
        • Awards
      Re: Suggestion About Duelrespawn command
      « Reply #5 on: May 19, 2010, 09:19:43 AM »
      This is nice, voted yes.
      « Last Edit: May 19, 2010, 09:30:31 AM by ScottE »

      Offline MidNight

      • Banned
      • *
      • Posts: 334
        • Awards

      Offline Alex0

      • SA-MP Donator
      • *
      • Posts: 280
        • Awards
      Re: Suggestion About Duelrespawn command
      « Reply #7 on: May 19, 2010, 03:25:59 PM »
      woow cool men
      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 :-\

      Offline Daniel.

      • Fisher
      • ******
      • Posts: 1196
      • It's Lonely at the Top'
        • DO NOT CLICK
        • Awards
      Re: Suggestion About Duelrespawn command
      « Reply #8 on: May 19, 2010, 08:51:05 PM »
      woow cool men
      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

      YOU JUST LOST THE GAME!!!

      Offline !!Puffin

      • SA-MP Donator
      • *
      • Posts: 526
      • Steam: Puffin1337
        • Awards
      Re: Suggestion About Duelrespawn command
      « Reply #9 on: May 20, 2010, 02:42:19 AM »
      woow cool men
      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)

      Offline BikeDriver

      • Fisher
      • ******
      • Posts: 1765
      • I can do anything
        • Awards
      Re: Suggestion About Duelrespawn command
      « Reply #10 on: May 20, 2010, 04:40:26 AM »
      what about:

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

      Haha blwelrwelrt, I registered here earlier :P

      Offline Simon

      • SA-MP Retirees
      • *
      • *
      • *
      • Posts: 1236
      • Retired
        • Awards
      • SA-MP: [CP]Simon
      Re: Suggestion About Duelrespawn command
      « Reply #11 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.

      Offline BikeDriver

      • Fisher
      • ******
      • Posts: 1765
      • I can do anything
        • Awards
      Re: Suggestion About Duelrespawn command
      « Reply #12 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.
      « Last Edit: May 20, 2010, 11:57:44 AM by BikeDriver »
      BikeDriv:))))

      Haha blwelrwelrt, I registered here earlier :P

      Offline Alex0

      • SA-MP Donator
      • *
      • Posts: 280
        • Awards
      Re: Suggestion About Duelrespawn command
      « Reply #13 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

      Offline dugi

      • Management
      • *
      • Posts: 3137
        • best song ever
        • Awards
      Re: Suggestion About Duelrespawn command
      « Reply #14 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.