Jump to content
  • 0

/jetpack


cipperu

Question

salut,am un mod The Godfather  si vreau o comanda /jetpack care sa-mi dea jetpack..doar adminilor 1337,1338 si 1339 !!

va rog !!una care sa dea jetpack !!

Aceasta este comanda: 

if(strcmp(cmd, "/jetpack", true) == 0)

  {

      if(IsPlayerConnected(playerid))

      {

          if (PlayerInfo[playerid][pAdmin] < 1337)

        {

            SendClientMessage(playerid, COLOR_GRAD1, "  You are not authorized to use that command!");

            return 1;

        }

        SetPlayerSpecialAction(playerid,2);

        SendClientMessage(playerid, COLOR_YELLOW2, "You have been given an Admin JetPack");

        SendClientMessage(playerid, COLOR_YELLOW2, "Don't abuse it !");

      }

      return 1;

  }

imi arata scris dar nu-mi da jetpack !

at_4343354.png
Link to comment
Share on other sites

18 answers to this question

Recommended Posts

[pawn]if(strcmp(cmd, "/jetpack", true) == 0)

  {

      if(IsPlayerConnected(playerid))

      {

          if (PlayerInfo[giveplayerid][pAdmin] < 1337)

        {

            SetPlayerSpecialAction(playerid,SPECIAL_ACTION_USEJETPACK);

            SendClientMessage(playerid, COLOR_YELLOW2, "You have been given an Admin JetPack");

            return 1;

        }

        else

        {

            SendClientMessage(playerid, COLOR_GRAD1, "You are not authorized to use that command!");

            return 1;

            }

        }

    }[/pawn]

wtf?I fucking then school??????fuck school :))))

coolte12.png

Link to comment
Share on other sites

if(strcmp(cmd, "/jetpack", true) == 0)

  {

      if(IsPlayerConnected(playerid))

      {

          if (PlayerInfo[playerid][pAdmin] < 1337)

        {

            return SendClientMessage(playerid, COLOR_GRAD1, "EROARE: Nu poti folosi aceasta comanda!");

        }

        SetPlayerSpecialAction(playerid,2);

        SendClientMessage(playerid, COLOR_YELLOW2, "Ti-ai creat un jetpack!);

        #pragma unused params

        return true;

}

wtf?I fucking then school??????fuck school :))))

coolte12.png

Link to comment
Share on other sites

if(strcmp(cmd, "/jetpack", true) == 0)
{
	if(IsPlayerConnected(playerid))
 	{
		if (PlayerInfo[playerid][pAdmin] >= 1337)
		{
			SendClientMessage(playerid, 0xFF7F50AA, "You have jetpack now!");
			SetPlayerSpecialAction(playerid,SPECIAL_ACTION_USEJETPACK);
			return 1;
		}
		else
		{
			SendClientMessage(playerid,0xFF0000AA,"You can't use this command.");
			return 1;
		}
	}
}

Link to comment
Share on other sites

incearca asa:

[pawn]

if(strcmp(cmd, "/jetpack", true) == 0)

{

if (PlayerInfo[playerid][pAdmin] >= 1337)

{

SendClientMessage(playerid, 0xFF7F50AA, "You have jetpack now!");

SetPlayerSpecialAction(playerid,2);

return 1;

}

else

{

SendClientMessage(playerid,0xFF0000AA,"You can't use this command.");

return 1;

}

}

[/pawn]

Fara reclama in semnatura!

Link to comment
Share on other sites

Uite aici :

[pawn] if(strcmp(cmd, "/jetpack", true) == 0)

{

if (PlayerInfo[playerid][pAdmin] >= 1337)

{

SendClientMessage(playerid, 0xFF7F50AA, "You have jetpack now!");

GivePlayerWeapon(playerid, 370, 9999);

SetPlayerSpecialAction(playerid,2);

return 1;

}

else

{

SendClientMessage(playerid,0xFF0000AA,"You can't use this command.");

return 1;

}

}[/pawn]

Link to comment
Share on other sites

da ca nu merge comanda ce a spus freedie,uite aici

[pawn]if(strcmp(cmd, "/jetpack", true) == 0)

{

    if(IsPlayerConnected(playerid))//da ca tot nu merge incerca stergi aici

    {

      if (PlayerInfo[giveplayerid][pAdmin] < 1337)

      {

        SetPlayerSpecialAction(playerid,SPECIAL_ACTION_USEJETPACK);

        SendClientMessage(playerid, COLOR_YELLOW2, "You have been given an Admin JetPack");

        return 1;

      }

      else

      {

          return SendClientMessage(playerid, COLOR_GRAD1, "You are not authorized to use that command!");

            }

        }

    }[/pawn] sau [pawn]if(strcmp(cmd, "/jetpack", true) == 0)

{

    if(IsPlayerConnected(playerid))//da ca tot nu merge incerca stergi aici

    {

      if (PlayerInfo[giveplayerid][pAdmin] < 1337)

      {

        SetPlayerSpecialAction(playerid,SPECIAL_ACTION_USEJETPACK);

        SendClientMessage(playerid, COLOR_YELLOW2, "You have been given an Admin JetPack");

        return 1;

      }

      else

      {

          return SendClientMessage(playerid, COLOR_GRAD1, "You are not authorized to use that command!");

      }

}[/pawn]

   

wtf?I fucking then school??????fuck school :))))

coolte12.png

Link to comment
Share on other sites

sau incearco pe asta

[pawn]    //------------------------------------------------[JetPack]-------------------------------------

    if(strcmp("/jetpack",cmdtext,true, 8) == 0)

    {

    if (PlayerInfo[playerid][pAdmin] >= 1339)

    {

    SetPlayerSpecialAction(playerid,SPECIAL_ACTION_USEJETPACK);

      SendClientMessage(playerid,COLOR_RED,"Your now using a jetpack");

      }

      return 1;

    }

        //--------------------------------------------------------------------------------------------------[/pawn]

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.