[Pedido] Alguem me ajuda
#1

Alguem tem algum comando tipo /fuga pra quando os players serem presos digita o comando e foge da prisao?

Se nгo tiver alguem me ajuda a criar o meu? tipo assim digita /fuga ai em 40 segundos cria uma explosao, o portao some e os presos fogem ai depois de 30 segundos o portao aparece dnv...Alguem me ajuda ? Valendo +reppsss
Reply
#2

Код:
if(strcmp(cmd, "/Fugir", true) == 0)
	{
     if(PlayerInfo[playerid][pJailed]>=1)
		{
		if(PlayerInfo[playerid][pJailed] == 2 || PlayerInfo[playerid][pJailed] == 6)
    		{
	   			SendClientMessage(playerid,COLOR_GREY," Vocк nгo pode usar no Carandiru/Cela Admin!");
	   			return 1;
    		}
		if(fugapr == 1)
	    	{
	   			SendClientMessage(playerid, COLOR_GRAD5, "Jб estб tendo uma tentativa de fulga da prisгo!");
	    		return 1;
	    	}
          if(tempodafuga == 1)
	    	{
	   			SendClientMessage(playerid,COLOR_GREY,"Jб fugiram espere 3 minutos para fugir de novo !");
	    		return 1;
	    	}
        GetPlayerName(playerid, playername, MAX_PLAYER_NAME);
        format(string, sizeof(string), "%s e os %s estгo tentando Fugir da Prisгo! ID:[%d]", playername, NomeORG(playerid) , playerid);
		SendClientMessageToAll(GetPlayerColor(playerid), string);
	    SendClientMessage(playerid, COLOR_GRAD5, "Espere 60 segundos para terminar de Fugir.");
	    SetPlayerCriminal(playerid,255, "Tentativa de Fuga");
        roubando[playerid] = 1;
        ProvocoFuga[playerid] = 1;
        fugapr = 1;
        tempodafuga = 1;
        SetTimer("Aroubo8", 110000, 0);
        tempofuga = SetTimerEx("FugadaPrisao", 1800000, 0, "i", playerid);
		}
		else
		{
		SendClientMessage(playerid, COLOR_GRAD1, "Voce nгo esta preso.");
		}
		return 1;
    }*/
E jб era... Se precisar de alguma coisa quando for compilar me fala.
Reply
#3

Esta faltando algo olha ae
Код:
C:\Documents and Settings\Usuario\Desktop\Viniciu$\BRV\gamemodes\RealidadeVirtual.pwn(16081) : error 017: undefined symbol "fugapr"
C:\Documents and Settings\Usuario\Desktop\Viniciu$\BRV\gamemodes\RealidadeVirtual.pwn(16086) : error 017: undefined symbol "tempodafuga"
C:\Documents and Settings\Usuario\Desktop\Viniciu$\BRV\gamemodes\RealidadeVirtual.pwn(16097) : error 017: undefined symbol "ProvocoFuga"
C:\Documents and Settings\Usuario\Desktop\Viniciu$\BRV\gamemodes\RealidadeVirtual.pwn(16097) : warning 215: expression has no effect
C:\Documents and Settings\Usuario\Desktop\Viniciu$\BRV\gamemodes\RealidadeVirtual.pwn(16097) : error 001: expected token: ";", but found "]"
C:\Documents and Settings\Usuario\Desktop\Viniciu$\BRV\gamemodes\RealidadeVirtual.pwn(16097) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Usuario\Desktop\Viniciu$\BRV\gamemodes\RealidadeVirtual.pwn(16097) : fatal error 107: too many error messages on one line
Reply
#4

manda teu sistema de prisгo! para que possemos ajuda-lo
Reply
#5

Код:
if(strcmp(cmd, "/Fugir", true) == 0)
	{
     if(PlayerInfo[playerid][pJailed]>=1)
		{
		if(PlayerInfo[playerid][pJailed] == 2 || PlayerInfo[playerid][pJailed] == 6)
    		{
	   			SendClientMessage(playerid,COLOR_GREY," Vocк nгo pode usar no Carandiru/Cela Admin!");
	   			return 1;
    		}
		if(fugapr == 1)
	    	{
	   			SendClientMessage(playerid, COLOR_GRAD5, "Jб estб tendo uma tentativa de fulga da prisгo!");
	    		return 1;
	    	}
          if(tempodafuga == 1)
	    	{
	   			SendClientMessage(playerid,COLOR_GREY,"Jб fugiram espere 3 minutos para fugir de novo !");
	    		return 1;
	    	}
        GetPlayerName(playerid, playername, MAX_PLAYER_NAME);
        format(string, sizeof(string), "%s e os %s estгo tentando Fugir da Prisгo! ID:[%d]", playername, NomeORG(playerid) , playerid);
		SendClientMessageToAll(GetPlayerColor(playerid), string);
	    SendClientMessage(playerid, COLOR_GRAD5, "Espere 60 segundos para terminar de Fugir.");
	    SetPlayerCriminal(playerid,255, "Tentativa de Fuga");
        roubando[playerid] = 1;
        ProvocoFuga[playerid] = 1;
        fugapr = 1;
        tempodafuga = 1;
        SetTimer("Aroubo8", 110000, 0);
        tempofuga = SetTimerEx("FugadaPrisao", 1800000, 0, "i", playerid);
		}
		else
		{
		SendClientMessage(playerid, COLOR_GRAD1, "Voce nгo esta preso.");
		}
		return 1;
    }
Reply
#6

help-me Please
Reply
#7

quer demais, namoral.
Reply
#8

Vinicius para de pedir as coisas e vai apreender a criar, por que assim vocк vai poder criar as suas coisas do seu jeito.
Reply
#9

Mais eu nao tenho a minima ideoa ajuda ai onde comecar pfv
Reply
#10

Comece criando gamemodes de TDM ou drifit
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)