Jump to content

[RSS]Cops_sandu

Membru
  • Posts

    198
  • Joined

  • Last visited

    Never

Posts posted by [RSS]Cops_sandu

  1. 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]

       

  2. dcmd_viplist(playerid,params[])
    {
    	#pragma unused params
    	if(AccInfo[playerid][LoggedIn] == 1)
    	{
    	 	new bool:First2 = false;
     		new CountVL, i,string[128];
    		new pName2[MAX_PLAYER_NAME];
    
    		for(i = 0; i < MAX_PLAYERS; i++){ if(IsPlayerConnected(i) && AccInfo[i][pVip] > 0) CountVL++; }
    
    		if(CountVL == 0) return SendClientMessage(playerid,red, "No players have VIP Account!");
    		for(i = 0; i < MAX_PLAYERS; i++)
    		{
    			if(IsPlayerConnected(i) && AccInfo[i][pVip] > 0)
    			{
    	 			GetPlayerName(i, pName2, sizeof(pName2));
    				if(!First2)
    				{
    					format(string, sizeof(string),"Vips {FC0303}: {00CEFC}%s", pName2);
    
    					First2 = true;
    				}
    				else format(string,sizeof(string),"%s",pName2);
        		}
    		}
      		return SendClientMessage(playerid,green,string);
    	}
    	else return SendClientMessage(playerid,red,"ERROR: You must be logged in to use this commands");
    }

  3. 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;

    }

  4. [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]

  5. [pawn]else if (PlayerToPoint(5, playerid, 246.5325,62.4251,1003.6406))//LSPD

    {

        SetPlayerPos(playerid, 1554.9100,-1675.6428,16.1953);

        SetPlayerInterior(playerid, 0);

        SetPlayerVirtualWorld(playerid, 0);

        PlayerInfo[playerid][pVirWorld] = 0;

        GameTextForPlayer(playerid, "~w~Los Santos", 1000, 1);

        }

        return 1;

        }[/pawn]

  6. [pawn]public houseup(houseid, Float:iconX, Float:iconY, Float:iconZ)

    {

            new string[1024];

            hInfo[houseid][iconx]=iconX;

            hInfo[houseid][icony]=iconY;

            hInfo[houseid][iconz]=iconZ;

        for(new i = 0; i <= MAX_HOUSES; i++)

        {

                    format(string, sizeof(string), "{FFFFFF}Proprietar: {FFAF00}%s\n{FFFFFF}Cost:  {00C0FF}%i", hInfo[Name],hInfo[Cost]);

            UpdateDynamic3DTextLabelText(housei, 0xCCFFDDFF, string);

         

        }

        return 1;

    }[/pawn]si sub defines or include pui [pawn]forward houseup(houseid, Float:iconX, Float:iconY, Float:iconZ);[/pawn] incearca asta+ da ca la tine e comezile dcmd pui [pawn]#define dcmd(%1,%2,%3) if ((strcmp((%3)[1], #%1, true, (%2)) == 0) && ((((%3)[(%2) + 1] == 0) && (dcmd_%1(playerid, "")))||(((%3)[(%2) + 1] == 32) && (dcmd_%1(playerid, (%3)[(%2) + 2]))))) return 1[/pawn]

  7. dak dau click pe download  ma duce aici http://storage-1.de.solidfiles.net/files/dev3/0/000/020/0000020178/078f5a7e1112491775cfee50c30d899e/4dd40e89/xStreamer.inc

    poti sa faci upload pe alt link cum ar fi www.2shared.com

    la mine merge perfect,ian uite mai bine http://solidfiles.com/d/bEcV/ sau http://www.mediafire.com/?ktf6eznbh2v6e16
×
×
  • 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.