[AJUDA] Com o comando /sequestrar e o BAN
#22

Quote:
Originally Posted by RodiauOUI
View Post
Brasil Play Twister 2.8
@EDIT
Nao tem mais pra download por sorte eu tenho vou te passar por PM
Ta, obrigado!

O comando /passarfita funcionou!
Agora sу falta o /sequestrar e o para salvar os banidos em uma pasta!
Eu to em outro PC, jaja vo pro meu, no Gm do gamer x tem o comando /amarrar mas ele ta bugado, o postar ele aqui pra ve se voces desbugam!


Aqui o code do meu /amarrar
Sу que quando digita ele in-game aparece: "Vocк nгo й dessa familia" toda vez aparece isso!

Code:
	if(strcmp(cmd, "/amarrar", true) == 0)
	{
	    if(IsPlayerConnected(playerid))
	    {
			if(PlayerInfo[playerid][pMembro] == 22 || PlayerInfo[playerid][pLider] == 22 || PlayerInfo[playerid][pMembro] == 20 || PlayerInfo[playerid][pLider] == 20 || PlayerInfo[playerid][pMembro] == 21 || PlayerInfo[playerid][pLider] == 21)
			{
			    if(PlayerInfo[playerid][pCargo] < 2)
			    {
			        SendClientMessage(playerid, COLOR_GREY, "   Vocк precisa de Cargo 2 ou mais para amarrar as pessoas. !");
			        return 1;
			    }
			    tmp = strtok(cmdtext, idx);
				if(!strlen(tmp)) {
					SendClientMessage(playerid, COLOR_WHITE, "USE: /amarrar [ id ]");
					return 1;
				}
				giveplayerid = ReturnUser(tmp);
			    if(IsPlayerConnected(giveplayerid))
				{
				    if(giveplayerid != INVALID_PLAYER_ID)
				    {
					    if(PlayerTied[giveplayerid] > 0)
					    {
					        SendClientMessage(playerid, COLOR_GREY, "   O Jogador jб estб amarrado !");
					        return 1;
					    }
						if (ProxDetectorS(8.0, playerid, giveplayerid))
						{
						    new car = GetPlayerVehicleID(playerid);
						    if(giveplayerid == playerid) { SendClientMessage(playerid, COLOR_GREY, "Vocк nгo pode desamarrar а vocк mesmo.!"); return 1; }
						    if(IsPlayerInAnyVehicle(playerid) && GetPlayerState(playerid) == 2 && IsPlayerInVehicle(giveplayerid, car))
						    {
						        GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer));
								GetPlayerName(playerid, sendername, sizeof(sendername));
						        format(string, sizeof(string), "* Vocк foi amarrado por %s.", sendername);
								SendClientMessage(giveplayerid, COLOR_LIGHTBLUE, string);
								format(string, sizeof(string), "* Vocк amarrou %s.", giveplayer);
								SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
								format(string, sizeof(string), "* %s amarra %s, entгo ele nгo irб а lugar algum.", sendername ,giveplayer);
								ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
								GameTextForPlayer(giveplayerid, "~r~Amarrado", 2500, 3);
								TogglePlayerControllable(giveplayerid, 0);
								PlayerTied[giveplayerid] = 1;
                                PlayerCuffedTime[giveplayerid] = 99999999999999;
						    }
						    else
						    {
						        SendClientMessage(playerid, COLOR_GREY, "   O Jogador nгo estб no seu carro, ou vocк nгo й o motorista !");
						        return 1;
						    }
						}
						else
						{
						    SendClientMessage(playerid, COLOR_GREY, "   O Jogador esta longe de voce !");
						    return 1;
						}
					}
				}
				else
				{
				    SendClientMessage(playerid, COLOR_GREY, "   O Jogador Esta Offline !");
				    return 1;
				}
			}
			else
			{
				SendClientMessage(playerid, COLOR_GREY, "   Vocк nгo й desta familia !");
			}
		}
		return 1;
	}
Reply


Messages In This Thread
[AJUDA] Com o BANIMENTO! e o /amarrar (/amarrar quase resolvido) - by Bruno Pereira - 06.01.2011, 15:40
Re: [AJUDA] Com o comando /sequestrar e o BAN - by Domozinho - 06.01.2011, 15:51
Re: [AJUDA] Com o comando /sequestrar e o BAN - by Bruno Pereira - 06.01.2011, 15:55
Re: [AJUDA] Com o comando /sequestrar e o BAN - by Macintosh - 06.01.2011, 17:13
Re: [AJUDA] Com o comando /sequestrar e o BAN - by roginho_97 - 06.01.2011, 17:24
Respuesta: [AJUDA] Com o comando /sequestrar e o BAN - by RodiauOUI - 06.01.2011, 17:37
Re: [AJUDA] Com o comando /sequestrar e o BAN - by Bruno Pereira - 06.01.2011, 17:45
Respuesta: Re: [AJUDA] Com o comando /sequestrar e o BAN - by RodiauOUI - 06.01.2011, 17:48
Re: [AJUDA] Com o comando /sequestrar e o BAN - by Bruno Pereira - 06.01.2011, 18:03
Respuesta: Re: [AJUDA] Com o comando /sequestrar e o BAN - by RodiauOUI - 06.01.2011, 18:08
Re: [AJUDA] Com o comando /sequestrar e o BAN - by bugvip - 06.01.2011, 18:28
Re: [AJUDA] Com o comando /sequestrar e o BAN - by Bruno Pereira - 06.01.2011, 18:54
Respuesta: Re: [AJUDA] Com o comando /sequestrar e o BAN - by RodiauOUI - 06.01.2011, 19:02
Re: [AJUDA] Com o comando /sequestrar e o BAN - by Bruno Pereira - 06.01.2011, 19:07
Respuesta: Re: [AJUDA] Com o comando /sequestrar e o BAN - by RodiauOUI - 06.01.2011, 20:00
Re: [AJUDA] Com o comando /sequestrar e o BAN - by Bruno Pereira - 06.01.2011, 20:11
Respuesta: Re: [AJUDA] Com o comando /sequestrar e o BAN - by RodiauOUI - 06.01.2011, 20:17
Re: [AJUDA] Com o comando /sequestrar e o BAN - by Bruno Pereira - 06.01.2011, 20:27
Respuesta: Re: [AJUDA] Com o comando /sequestrar e o BAN - by RodiauOUI - 06.01.2011, 20:35
Re: [AJUDA] Com o comando /sequestrar e o BAN - by Bruno Pereira - 06.01.2011, 21:09
Respuesta: Re: [AJUDA] Com o comando /sequestrar e o BAN - by RodiauOUI - 06.01.2011, 21:33
Re: Respuesta: Re: [AJUDA] Com o comando /sequestrar e o BAN - by Bruno Pereira - 06.01.2011, 21:49
Respuesta: [AJUDA] Com o comando /sequestrar e o BAN - by RodiauOUI - 06.01.2011, 22:26
Re: Respuesta: [AJUDA] Com o comando /sequestrar e o BAN - by Bruno Pereira - 06.01.2011, 22:28
Re: [AJUDA] Com o comando /sequestrar e o BAN - by Bruno Pereira - 07.01.2011, 01:24
Re: [AJUDA] Com o comando /sequestrar e o BAN - by [FeK]Knife - 07.01.2011, 01:31
Re: [AJUDA] Com o comando /sequestrar e o BAN - by Bruno Pereira - 07.01.2011, 01:37
Re: [AJUDA] Com o comando /sequestrar e o BAN - by [FeK]Knife - 07.01.2011, 01:38
Re: [AJUDA] Com o comando /sequestrar e o BAN - by Bruno Pereira - 07.01.2011, 02:01
Re: [AJUDA] Com o comando /sequestrar e o BAN - by [FeK]Knife - 07.01.2011, 02:12
Re: [AJUDA] Com o comando /sequestrar e o BAN - by [FeK]Knife - 08.01.2011, 16:38
Re: [AJUDA] Com o comando /sequestrar e o BAN - by Bruno Pereira - 08.01.2011, 16:47
Re: [AJUDA] Com o comando /sequestrar e o BAN - by [FeK]Knife - 08.01.2011, 17:06
Re: [AJUDA] Com o comando /sequestrar e o BAN - by Bruno Pereira - 08.01.2011, 17:28
Re: [AJUDA] Com o comando /sequestrar e o BAN - by [FeK]Knife - 08.01.2011, 17:33
Re: [AJUDA] Com o comando /sequestrar e o BAN - by Bruno Pereira - 08.01.2011, 17:54
Respuesta: [AJUDA] Com o comando /sequestrar e o BAN - by [FeK]Gunner - 11.01.2011, 02:30

Forum Jump:


Users browsing this thread: 1 Guest(s)