Advertisement
BR_Gustavo

Sistema de Duelos PT-BR

Nov 17th, 2018
284
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 15.47 KB | None | 0 0
  1. #define FILTERSCRIPT
  2.  
  3. #include <a_samp>
  4. #include <zcmd>
  5. #include <sscanf>
  6.  
  7. #if defined FILTERSCRIPT
  8.  
  9. #define DIALOG_DUELO1 (323)
  10. #define DIALOG_DUELO2 (324)
  11. #define DIALOG_DUELO3 (325)
  12. #define DIALOG_DUELO4 (326)
  13.  
  14. forward P_MandarDuelo(playerid);
  15. public P_MandarDuelo(playerid)
  16. {
  17.     new Player1 =  GetPVarInt(playerid,"DL_DesafiouID"),MsgLocalDuelo[14],MsgMandarDuelo[150];
  18.     new Jogador1Nome[150],NomeArma1Duelo[50],NomeArma2Duelo[50];
  19.     GetPlayerName(playerid,Jogador1Nome,sizeof(Jogador1Nome));
  20.     GetWeaponName(GetPVarInt(playerid,"DL_DesafiouArma"),NomeArma1Duelo,sizeof(NomeArma1Duelo));
  21.     GetWeaponName(GetPVarInt(playerid,"DL_DesafiouArma2"),NomeArma2Duelo,sizeof(NomeArma2Duelo));
  22.     if(!IsPlayerConnected(Player1)){
  23.     SendClientMessage(playerid,0xFF0000FF,"ERRO: Esse jogador não está mais conectado");
  24.     SetPVarInt(playerid,"DL_DesafiouAlguem",0);
  25.     SetPVarInt(playerid,"DL_DesafiouID",-1);
  26.     return 1;}
  27.     if(GetPVarInt(Player1,"DL_NoDuelo") == 1){
  28.     SendClientMessage(playerid,0xFF0000FF,"ERRO: Esse jogador já está em um Duelo.");
  29.     SetPVarInt(playerid,"DL_DesafiouAlguem",0);
  30.     SetPVarInt(playerid,"DL_DesafiouID",-1);
  31.     return 1;}
  32.     if(GetPVarInt(playerid,"DL_DesafiouLugar") == 1){ MsgLocalDuelo = "Estádio";}else
  33.     if(GetPVarInt(playerid,"DL_DesafiouLugar") == 2){ MsgLocalDuelo = "Vice-Estádio";}else
  34.     if(GetPVarInt(playerid,"DL_DesafiouLugar") == 3){ MsgLocalDuelo = "Armázem";}
  35.     SetPVarInt(Player1,"DL_DesafiouAlguem",1);
  36.     SetPVarInt(Player1,"DL_DesafiouID",playerid);
  37.     SendClientMessage(playerid,0x00BFFFFF,"Desafia de duelo enviado com sucesso! aguarde o jogador Aceitar/Rejeitar o Duelo.");
  38.     format(MsgMandarDuelo,sizeof(MsgMandarDuelo),"{FF0000}%s {00BFFF}Desafiou você para 1 vs 1\n\nArma:%s & %s\nLocal: %s",Jogador1Nome,NomeArma1Duelo,NomeArma2Duelo,MsgLocalDuelo);
  39.     ShowPlayerDialog(Player1,DIALOG_DUELO4,DIALOG_STYLE_MSGBOX,"{FFFF00}Duel",MsgMandarDuelo,"Aceitar","Rejeitar");
  40.     return 1;
  41. }
  42. forward P_AceitouODuelo(playerid);
  43. public P_AceitouODuelo(playerid)
  44. {
  45.     new Player1 = GetPVarInt(playerid,"DL_DesafiouID"),MsgLocalDuelo[15],MsgDuelo[150];
  46.     SetPVarInt(Player1,"DL_NoDuelo",1);
  47.     SetPVarInt(playerid,"DL_NoDuelo",1);
  48.     ResetPlayerWeapons(playerid);
  49.     ResetPlayerWeapons(Player1);
  50.     SetPlayerHealth(playerid,100);
  51.     SetPlayerArmour(playerid,100);
  52.     SetPlayerHealth(Player1,100);
  53.     SetPlayerArmour(Player1,100);
  54.     TogglePlayerControllable(playerid,0);
  55.     TogglePlayerControllable(Player1,0);
  56.     GivePlayerWeapon(playerid,GetPVarInt(playerid,"DL_DesafiouArma"),999);
  57.     GivePlayerWeapon(playerid,GetPVarInt(playerid,"DL_DesafiouArma2"),999);
  58.     GivePlayerWeapon(Player1,GetPVarInt(playerid,"DL_DesafiouArma"),999);
  59.     GivePlayerWeapon(Player1,GetPVarInt(playerid,"DL_DesafiouArma2"),999);
  60.     if(GetPVarInt(playerid,"DL_DesafiouLugar") == 1){
  61.     MsgLocalDuelo = "Estádio";
  62.     SetPlayerInterior(playerid,0);
  63.     SetPlayerPos(playerid,1308.5769,2151.4307,11.0234);
  64.     SetPlayerInterior(Player1,0);
  65.     SetPlayerPos(Player1,1382.4200,2150.0144,11.0234);}else
  66.     if(GetPVarInt(playerid,"DL_DesafiouLugar") == 2){
  67.     MsgLocalDuelo = "Vice-Estádio";
  68.     SetPlayerInterior(playerid,16);
  69.     SetPlayerPos(playerid,-1374.6429,1243.1626,1039.8672);
  70.     SetPlayerInterior(Player1,16);
  71.     SetPlayerPos(Player1,-1425.7114,1249.0509,1039.8672);}else
  72.     if(GetPVarInt(playerid,"DL_DesafiouLugar") == 3){
  73.     MsgLocalDuelo = "Armázem";
  74.     SetPlayerInterior(playerid,1);
  75.     SetPlayerPos(playerid,1416.2416,-17.9103,1000.9261);
  76.     SetPlayerInterior(Player1,1);
  77.     SetPlayerPos(Player1,1367.5674,-17.5536,1000.9219);}
  78.     new NomeJogadoresDuelo[2][100];
  79.     GetPlayerName(playerid,NomeJogadoresDuelo[0],100);
  80.     GetPlayerName(Player1,NomeJogadoresDuelo[1],100);
  81.     format(MsgDuelo,sizeof(MsgDuelo),"|- Um Duelo entre \"%s[%d]\" e \"%s[%d]\" foi iniciado. |- Aposta: [%d$] | Local %s -|",NomeJogadoresDuelo[0],playerid,NomeJogadoresDuelo[1],Player1,GetPVarInt(playerid,"DL_DesafiouAposta"),MsgLocalDuelo);
  82.     SendClientMessageToAll(0x00FF00FF,MsgDuelo);
  83.     SetPVarInt(playerid,"DL_DesafiouContagem",5);
  84.     SetPVarInt(Player1,"DL_DesafiouContagem",5);
  85.     SetPVarInt(playerid,"DL_DesafiouTimer",SetTimerEx("P_ContagemAbrirDuelo",1000,true,"u",playerid));
  86.     SetPVarInt(Player1,"DL_DesafiouTimer",SetTimerEx("P_ContagemAbrirDuelo",1000,true,"u",Player1));
  87.     return 1;
  88. }
  89. forward P_ContagemAbrirDuelo(playerid);
  90. public P_ContagemAbrirDuelo(playerid)
  91. {
  92.     if(GetPVarInt(playerid,"DL_DesafiouContagem") <=0){
  93.     TogglePlayerControllable(playerid,1);
  94.     GameTextForPlayer(playerid,"~r~Vai Vai Vai!",1600,3);
  95.     SetPVarInt(playerid,"DL_DesafiouContagem",-1);
  96.     KillTimer(GetPVarInt(playerid,"DL_DesafiouTimer"));}else
  97.     if(GetPVarInt(playerid,"DL_DesafiouContagem") >=1){
  98.     new MsgTempoDuelo[50];
  99.     format(MsgTempoDuelo,sizeof(MsgTempoDuelo),"~g~%i",GetPVarInt(playerid,"DL_DesafiouContagem"));
  100.     GameTextForPlayer(playerid,MsgTempoDuelo,1000,3);
  101.     SetPVarInt(playerid,"DL_DesafiouContagem",GetPVarInt(playerid,"DL_DesafiouContagem")-1);}
  102.     return 1;
  103. }
  104. forward VerificarJogadorNoDuelo(playerid);
  105. public VerificarJogadorNoDuelo(playerid)
  106. {
  107.     return GetPVarInt(playerid,"DL_NoDuelo");
  108. }
  109. public OnFilterScriptInit()
  110. {
  111.     print("\n-------------------------------------");
  112.     print(" Sistema de duelo by Guscooby Carregado...");
  113.     print("-------------------------------------\n");
  114.     return 1;
  115. }
  116.  
  117. public OnFilterScriptExit()
  118. {
  119.     return 1;
  120. }
  121. public OnPlayerConnect(playerid)
  122. {
  123.     return 1;
  124. }
  125. public OnPlayerDisconnect(playerid, reason)
  126. {
  127.     if(GetPVarInt(playerid,"DL_NoDuelo") == 1){
  128.     new Player1 = GetPVarInt(playerid,"DL_DesafiouID");
  129.     new JogadoresDueloNome[2][100],Float:QuantidadeVida,Float:QuantidadeColete;
  130.     GetPlayerName(playerid,JogadoresDueloNome[0],100);
  131.     GetPlayerName(Player1,JogadoresDueloNome[1],100);
  132.     GetPlayerHealth(Player1,QuantidadeVida);
  133.     GetPlayerArmour(Player1,QuantidadeColete);
  134.     new MsgGanhouDuelo[150];
  135.     format(MsgGanhouDuelo,sizeof(MsgGanhouDuelo),"%s Ganhou o 1 vs 1 contra %s e ficou com %f de vida e %f de colete.",JogadoresDueloNome[1],JogadoresDueloNome[0],QuantidadeVida,QuantidadeColete);
  136.     SendClientMessageToAll(0xD15710FF,MsgGanhouDuelo);
  137.     ResetPlayerWeapons(Player1);
  138.     SpawnPlayer(Player1);
  139.     GivePlayerMoney(Player1,GetPVarInt(playerid,"DL_DesafiouAposta"));
  140.     SetPVarInt(Player1,"DL_DesafiouAlguem",0);
  141.     SetPVarInt(Player1,"DL_DesafiouID",-1);
  142.     SetPVarInt(Player1,"DL_DesafiouAposta",0);
  143.     SetPVarInt(Player1,"DL_NoDuelo",0);}
  144.     return 1;
  145. }
  146. public OnPlayerDeath(playerid, killerid, reason)
  147. {
  148.     if(GetPVarInt(playerid,"DL_NoDuelo") == 1){
  149.     new Player1 = GetPVarInt(playerid,"DL_DesafiouID");
  150.     new JogadoresDueloNome[2][100],Float:QuantidadeVida,Float:QuantidadeColete;
  151.     GetPlayerName(playerid,JogadoresDueloNome[0],100);
  152.     GetPlayerName(Player1,JogadoresDueloNome[1],100);
  153.     GetPlayerHealth(Player1,QuantidadeVida);
  154.     GetPlayerArmour(Player1,QuantidadeColete);
  155.     new MsgGanhouDuelo[150];
  156.     format(MsgGanhouDuelo,sizeof(MsgGanhouDuelo),"%s Ganhou o 1 vs 1 contra %s e ficou com %f de vida e %f de colete",JogadoresDueloNome[1],JogadoresDueloNome[0],QuantidadeVida,QuantidadeColete);
  157.     SendClientMessageToAll(0xD15710FF,MsgGanhouDuelo);
  158.     ResetPlayerWeapons(Player1);
  159.     SpawnPlayer(Player1);
  160.     ResetPlayerWeapons(playerid);
  161.     SpawnPlayer(playerid);
  162.     SetPVarInt(playerid,"DL_DesafiouAlguem",0);
  163.     SetPVarInt(playerid,"DL_DesafiouID",-1);
  164.     SetPVarInt(playerid,"DL_DesafiouAposta",0);
  165.     SetPVarInt(playerid,"DL_NoDuelo",0);
  166.     GivePlayerMoney(Player1,GetPVarInt(playerid,"DL_DesafiouAposta"));
  167.     SetPVarInt(Player1,"DL_DesafiouAlguem",0);
  168.     SetPVarInt(Player1,"DL_DesafiouID",-1);
  169.     SetPVarInt(Player1,"DL_DesafiouAposta",0);
  170.     SetPVarInt(Player1,"DL_NoDuelo",0);}
  171.     return 1;
  172. }
  173. //------------------------------------------------------------------------------
  174. CMD:duelo(playerid,params[])
  175. {
  176.     new DL_Apostando,Player1,MsgArmasDuelo[150];
  177.     if(GetPVarInt(playerid,"DL_NoDuelo") == 1)return SendClientMessage(playerid,0xFF0000FF,"ERRO: Você já está em um duelo");
  178.     if(sscanf(params,"ud",Player1,DL_Apostando))return SendClientMessage(playerid,0xFF0000FF,"USAGE: /Duelo [Jogador-ID] [Aposta]");
  179.     if(!IsPlayerConnected(Player1))return SendClientMessage(playerid,0xFF0000FF,"ERRO: Esse jogador não está conectado");{
  180.     if(Player1 == playerid)return SendClientMessage(playerid,0xFF0000FF,"ERRO: Você não pode desafiar você mesmo para um duelo.");
  181.     if(GetPVarInt(Player1,"DL_NoDuelo") == 1)return SendClientMessage(playerid,0xFF0000FF,"ERRO: Esse jogador já está em um Duelo.");
  182.     if(DL_Apostando > GetPlayerMoney(playerid) || DL_Apostando <= 0)return SendClientMessage(playerid,0xFF0000FF,"ERRO: Você não tem todo esse dinheiro para apostar");
  183.     if(DL_Apostando > GetPlayerMoney(Player1))return SendClientMessage(playerid,0xFF0000FF,"ERRO: Esse jogador não tem essa quantidade de dinheiro para apostar");
  184.     if(GetPVarInt(playerid,"DL_DesafiouAlguem") == 1)return SendClientMessage(playerid,0xFF0000FF,"ERRO: Você está esperando a resposta de um desafio");
  185.     SetPVarInt(playerid,"DL_DesafiouAlguem",1);
  186.     SetPVarInt(playerid,"DL_DesafiouID",Player1);
  187.     SetPVarInt(playerid,"DL_DesafiouAposta",DL_Apostando);
  188.     strcat(MsgArmasDuelo,"{00FF00}Deagle\n{00FF00}Shot Gun\n{00FF00}SawnOff Shot Gun\n{00FF00}Combat Shout Gun\n{00FF00}UZI\n{00FF00}MP5\n{00FF00}M4\n{00FF00}Tec9");
  189.     ShowPlayerDialog(playerid,DIALOG_DUELO1,DIALOG_STYLE_LIST,"Duelo Armas 1",MsgArmasDuelo,"Escolher","Cancelar");}
  190.     return 1;
  191. }
  192. //------------------------------------------------------------------------------
  193. public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
  194. {
  195.     if(dialogid == DIALOG_DUELO1){
  196.     if(!response){
  197.     SetPVarInt(playerid,"DL_DesafiouAlguem",0);
  198.     SetPVarInt(playerid,"DL_DesafiouID",-1);}
  199.     if(response){
  200.     new MsgArmasDuelo[150];
  201.     strcat(MsgArmasDuelo,"{00FF00}Mesma Arma\n{00FF00}Deagle\n{00FF00}Shot Gun\n{00FF00}SawnOff Shot Gun\n{00FF00}Combat Shout Gun\n{00FF00}UZI\n{00FF00}MP5\n{00FF00}M4\n{00FF00}Tec9");
  202.     switch (listitem){
  203.     case 0: { SetPVarInt(playerid,"DL_DesafiouArma",24); ShowPlayerDialog(playerid,DIALOG_DUELO2,DIALOG_STYLE_LIST,"Duelo Arma 2",MsgArmasDuelo,"Escolher","Voltar");}
  204.     case 1: { SetPVarInt(playerid,"DL_DesafiouArma",25); ShowPlayerDialog(playerid,DIALOG_DUELO2,DIALOG_STYLE_LIST,"Duelo Arma 2",MsgArmasDuelo,"Escolher","Voltar");}
  205.     case 2: { SetPVarInt(playerid,"DL_DesafiouArma",26); ShowPlayerDialog(playerid,DIALOG_DUELO2,DIALOG_STYLE_LIST,"Duelo Arma 2",MsgArmasDuelo,"Escolher","Voltar");}
  206.     case 3: { SetPVarInt(playerid,"DL_DesafiouArma",27); ShowPlayerDialog(playerid,DIALOG_DUELO2,DIALOG_STYLE_LIST,"Duelo Arma 2",MsgArmasDuelo,"Escolher","Voltar");}
  207.     case 4: { SetPVarInt(playerid,"DL_DesafiouArma",28); ShowPlayerDialog(playerid,DIALOG_DUELO2,DIALOG_STYLE_LIST,"Duelo Arma 2",MsgArmasDuelo,"Escolher","Voltar");}
  208.     case 5: { SetPVarInt(playerid,"DL_DesafiouArma",29); ShowPlayerDialog(playerid,DIALOG_DUELO2,DIALOG_STYLE_LIST,"Duelo Arma 2",MsgArmasDuelo,"Escolher","Voltar");}
  209.     case 6: { SetPVarInt(playerid,"DL_DesafiouArma",31); ShowPlayerDialog(playerid,DIALOG_DUELO2,DIALOG_STYLE_LIST,"Duelo Arma 2",MsgArmasDuelo,"Escolher","Voltar");}
  210.     case 7: { SetPVarInt(playerid,"DL_DesafiouArma",32); ShowPlayerDialog(playerid,DIALOG_DUELO2,DIALOG_STYLE_LIST,"Duelo Arma 2",MsgArmasDuelo,"Escolher","Voltar");}}}}
  211.     if(dialogid == DIALOG_DUELO2){
  212.     if(!response){
  213.     new MsgArmasDuelo[150];
  214.     strcat(MsgArmasDuelo,"{00FF00}Deagle\n{00FF00}Shot Gun\n{00FF00}SawnOff Shot Gun\n{00FF00}Combat Shout Gun\n{00FF00}UZI\n{00FF00}MP5\n{00FF00}M4\n{00FF00}Tec9");
  215.     ShowPlayerDialog(playerid,DIALOG_DUELO1,DIALOG_STYLE_LIST,"Duelo Arma 1",MsgArmasDuelo,"Escolher","Cancelar");}
  216.     if(response){
  217.     switch (listitem){
  218.     case 0: { SetPVarInt(playerid,"DL_DesafiouArma2",GetPVarInt(playerid,"DL_DesafiouArma")); ShowPlayerDialog(playerid,DIALOG_DUELO3,DIALOG_STYLE_LIST,"Duelo Lugar","{00FF00}Estádio\n{00FF00}Vice-Estádio\n{00FF00}Armázem","Escolher","Voltar");}
  219.     case 1: { SetPVarInt(playerid,"DL_DesafiouArma2",24); ShowPlayerDialog(playerid,DIALOG_DUELO3,DIALOG_STYLE_LIST,"Duelo Lugar","{00FF00}Estádio\n{00FF00}Vice-Estádio\n{00FF00}Armázem","Escolher","Voltar");}
  220.     case 2: { SetPVarInt(playerid,"DL_DesafiouArma2",25); ShowPlayerDialog(playerid,DIALOG_DUELO3,DIALOG_STYLE_LIST,"Duelo Lugar","{00FF00}Estádio\n{00FF00}Vice-Estádio\n{00FF00}Armázem","Escolher","Voltar");}
  221.     case 3: { SetPVarInt(playerid,"DL_DesafiouArma2",26); ShowPlayerDialog(playerid,DIALOG_DUELO3,DIALOG_STYLE_LIST,"Duelo Lugar","{00FF00}Estádio\n{00FF00}Vice-Estádio\n{00FF00}Armázem","Escolher","Voltar");}
  222.     case 4: { SetPVarInt(playerid,"DL_DesafiouArma2",27); ShowPlayerDialog(playerid,DIALOG_DUELO3,DIALOG_STYLE_LIST,"Duelo Lugar","{00FF00}Estádio\n{00FF00}Vice-Estádio\n{00FF00}Armázem","Escolher","Voltar");}
  223.     case 5: { SetPVarInt(playerid,"DL_DesafiouArma2",28); ShowPlayerDialog(playerid,DIALOG_DUELO3,DIALOG_STYLE_LIST,"Duelo Lugar","{00FF00}Estádio\n{00FF00}Vice-Estádio\n{00FF00}Armázem","Escolher","Voltar");}
  224.     case 6: { SetPVarInt(playerid,"DL_DesafiouArma2",29); ShowPlayerDialog(playerid,DIALOG_DUELO3,DIALOG_STYLE_LIST,"Duelo Lugar","{00FF00}Estádio\n{00FF00}Vice-Estádio\n{00FF00}Armázem","Escolher","Voltar");}
  225.     case 7: { SetPVarInt(playerid,"DL_DesafiouArma2",31); ShowPlayerDialog(playerid,DIALOG_DUELO3,DIALOG_STYLE_LIST,"Duelo Lugar","{00FF00}Estádio\n{00FF00}Vice-Estádio\n{00FF00}Armázem","Escolher","Voltar");}
  226.     case 8: { SetPVarInt(playerid,"DL_DesafiouArma2",32); ShowPlayerDialog(playerid,DIALOG_DUELO3,DIALOG_STYLE_LIST,"Duelo Lugar","{00FF00}Estádio\n{00FF00}Vice-Estádio\n{00FF00}Armázem","Escolher","Voltar");}}}}
  227.     if(dialogid == DIALOG_DUELO3){
  228.     if(!response){
  229.     new MsgArmasDuelo[150];
  230.     strcat(MsgArmasDuelo,"{00FF00}Mesma Arma\n{00FF00}Deagle\n{00FF00}Shot Gun\n{00FF00}SawnOff Shot Gun\n{00FF00}Combat Shout Gun\n{00FF00}UZI\n{00FF00}MP5\n{00FF00}M4\n{00FF00}Tec9");
  231.     ShowPlayerDialog(playerid,DIALOG_DUELO2,DIALOG_STYLE_LIST,"Duelo Arma 2",MsgArmasDuelo,"Escolher","Voltar");}
  232.     if(response){
  233.     switch (listitem){
  234.     case 0: { SetPVarInt(playerid,"DL_DesafiouLugar",1); P_MandarDuelo(playerid);}
  235.     case 1: { SetPVarInt(playerid,"DL_DesafiouLugar",2); P_MandarDuelo(playerid);}
  236.     case 2: { SetPVarInt(playerid,"DL_DesafiouLugar",3); P_MandarDuelo(playerid);}}}}
  237.     if(dialogid == DIALOG_DUELO4){
  238.     if(!response){
  239.     new Player1 = GetPVarInt(playerid,"DL_DesafiouID");
  240.     SetPVarInt(Player1,"DL_DesafiouAlguem",0);
  241.     SetPVarInt(Player1,"DL_DesafiouID",-1);
  242.     new MsgRejeitarDuelo[100],NomeOutroJogador[50];
  243.     GetPlayerName(playerid,NomeOutroJogador,sizeof(NomeOutroJogador));
  244.     format(MsgRejeitarDuelo,sizeof(MsgRejeitarDuelo),"%s rejected the duel!",NomeOutroJogador);
  245.     SendClientMessage(Player1,0xFF0000FF,MsgRejeitarDuelo);
  246.     SetPVarInt(playerid,"DL_DesafiouAlguem",0);
  247.     SetPVarInt(playerid,"DL_DesafiouID",-1);}
  248.     if(response){
  249.     new Player1 = GetPVarInt(playerid,"DL_DesafiouID");
  250.     if(!IsPlayerConnected(Player1)){
  251.     SendClientMessage(Player1,0xFF0000FF,"ERRO: Esse jogador não está mais disponivel");
  252.     SetPVarInt(playerid,"DL_DesafiouAlguem",0);
  253.     SetPVarInt(playerid,"DL_DesafiouID",-1);
  254.     return 1;}
  255.     if(GetPVarInt(Player1,"DL_NoDuelo") == 1){
  256.     SendClientMessage(Player1,0xFF0000FF,"ERRO: Esse jogador não está mais disponivel");
  257.     SetPVarInt(playerid,"DL_DesafiouAlguem",0);
  258.     SetPVarInt(playerid,"DL_DesafiouID",-1);
  259.     return 1;}
  260.     SetPVarInt(playerid,"DL_DesafiouArma",GetPVarInt(Player1,"DL_DesafiouArma"));
  261.     SetPVarInt(playerid,"DL_DesafiouArma2",GetPVarInt(Player1,"DL_DesafiouArma2"));
  262.     SetPVarInt(playerid,"DL_DesafiouAposta",GetPVarInt(Player1,"DL_DesafiouAposta"));
  263.     SetPVarInt(playerid,"DL_DesafiouLugar",GetPVarInt(Player1,"DL_DesafiouLugar"));
  264.     P_AceitouODuelo(playerid);}}
  265.     return 1;
  266. }
  267. #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement