Jump to content

Recommended Posts

Posted

Salut as dori si eu comanda /getgift si sa-ti dea 1kk , 100 k mats , 100 k droguri , cont premium [ pPremium 1 ] va rog mult , raman dator .

Posted

Salut as dori si eu comanda /getgift si sa-ti dea 1kk , 100 k mats , 100 k droguri , cont premium [ pPremium 1 ] va rog mult , raman dator .

Comanda /getgift 

 

	
	CMD:getgift(playerid, params[])
	
	
	{
	
	
	        if(playerVariables[playerid][pGiftPoint] >= 1)
	
	
	        {
	
	
	                new ran = random(5);
	
	
	                if(ran == 0)
	
	
	                {
	
	
	                        SendClientMessage(playerid, COLOR_YELLOW, "GiftBox: Ai castigat $1,774,169.");
	
	
	                        playerVariables[playerid][pMoney] += 1774169;
	
	
	                        playerVariables[playerid][pGiftPoint] -= 1;
	
	
	                }
	
	
	                else if(ran == 1)
	
	
	                {
	
	
	                        SendClientMessage(playerid, COLOR_YELLOW, "GiftBox: Ai castigat $116,49.");
	
	
	                        playerVariables[playerid][pMoney] += 11649;
	
	
	                        playerVariables[playerid][pGiftPoint] -= 1;
	
	
	                }
	
	
	                else if(ran == 2)
	
	
	                {
	
	
	                        SendClientMessage(playerid, COLOR_YELLOW, "GiftBox: Ai castigat $123,90");
	
	
	                        playerVariables[playerid][pMoney] +12390;
	
	
	                        playerVariables[playerid][pGiftPoint] -= 1;
	
	
	                }
	
	
	                else if(ran == 3)
	
	
	                {
	
	
	                        SendClientMessage(playerid, COLOR_YELLOW, "GiftBox: Ai castigat 10g droguri");
	
	
	                        playerVariables[playerid][pDrugs] += 10;
	
	
	                        playerVariables[playerid][pGiftPoint] -= 1;
	
	
	                }
	
	
	                else if(ran == 4)
	
	
	                {
	
	
	                        SendClientMessage(playerid, COLOR_YELLOW, "GiftBox: Ai castigat 50,000 de materiale");
	
	
	                        playerVariables[playerid][pMaterials] +=50000;
	
	
	                        playerVariables[playerid][pGiftPoint] -= 1;
	
	
	                }
	
	
	        }
	
	
	        else return SendClientMessage(playerid, COLOR_GREY, "Nu ai suficiente GiftPoints-uri pentru a castiga un cadou.");
	
	
	}
	

Comanda /givemepoint 

 

	
	CMD:givemegpoint(playerid, params[])
	
	
	{
	
	
	        if(EsteManager(playerid))
	
	
	        {
	
	
	                playerVariables[playerid][pGiftPoint] += 5;
	
	
	                SendClientMessage(playerid, COLOR_GREY, "Ai primit 5 puncte gift.");
	
	
	 
	
	
	        }
	
	
	        else return SendClientMessage(playerid, COLOR_WHITE, "Nu este inclus in lista managerilor.");
	
	
	        return 1;
	
	
	}
	

Cadouri / Brad / 3dlabel 

 

	
	Create3DTextLabel("GiftBox\n Type /getgift ",0xFF6347AA,1124.1337,-1467.0392,15.7622,40.0,0);
	
	
	 
	
	
	 
	
	
	 
	
	
	CreateObject(19054, 1124.973632, -1469.977416, 15.286223,   0.00000, 0.00000, 0.00000);
	
	
	CreateObject(19076, 1124.158813, -1470.010498, 14.445003,   0.00000, 0.00000, 0.00000);
	
	
	CreateObject(19056, 1124.180053, -1468.760986, 15.039734,   0.00000, 0.00000, 0.00000);
	
	
	CreateObject(19058, 1123.288696, -1469.725219, 15.391901,   0.00000, 0.00000, 0.00000);
	

Posted

 

Comanda /getgift 

	
	CMD:getgift(playerid, params[])
	
	
	{
	
	
	        if(playerVariables[playerid][pGiftPoint] >= 1)
	
	
	        {
	
	
	                new ran = random(5);
	
	
	                if(ran == 0)
	
	
	                {
	
	
	                        SendClientMessage(playerid, COLOR_YELLOW, "GiftBox: Ai castigat $1,774,169.");
	
	
	                        playerVariables[playerid][pMoney] += 1774169;
	
	
	                        playerVariables[playerid][pGiftPoint] -= 1;
	
	
	                }
	
	
	                else if(ran == 1)
	
	
	                {
	
	
	                        SendClientMessage(playerid, COLOR_YELLOW, "GiftBox: Ai castigat $116,49.");
	
	
	                        playerVariables[playerid][pMoney] += 11649;
	
	
	                        playerVariables[playerid][pGiftPoint] -= 1;
	
	
	                }
	
	
	                else if(ran == 2)
	
	
	                {
	
	
	                        SendClientMessage(playerid, COLOR_YELLOW, "GiftBox: Ai castigat $123,90");
	
	
	                        playerVariables[playerid][pMoney] +12390;
	
	
	                        playerVariables[playerid][pGiftPoint] -= 1;
	
	
	                }
	
	
	                else if(ran == 3)
	
	
	                {
	
	
	                        SendClientMessage(playerid, COLOR_YELLOW, "GiftBox: Ai castigat 10g droguri");
	
	
	                        playerVariables[playerid][pDrugs] += 10;
	
	
	                        playerVariables[playerid][pGiftPoint] -= 1;
	
	
	                }
	
	
	                else if(ran == 4)
	
	
	                {
	
	
	                        SendClientMessage(playerid, COLOR_YELLOW, "GiftBox: Ai castigat 50,000 de materiale");
	
	
	                        playerVariables[playerid][pMaterials] +=50000;
	
	
	                        playerVariables[playerid][pGiftPoint] -= 1;
	
	
	                }
	
	
	        }
	
	
	        else return SendClientMessage(playerid, COLOR_GREY, "Nu ai suficiente GiftPoints-uri pentru a castiga un cadou.");
	
	
	}
	

Comanda /givemepoint 

	
	CMD:givemegpoint(playerid, params[])
	
	
	{
	
	
	        if(EsteManager(playerid))
	
	
	        {
	
	
	                playerVariables[playerid][pGiftPoint] += 5;
	
	
	                SendClientMessage(playerid, COLOR_GREY, "Ai primit 5 puncte gift.");
	
	
	 
	
	
	        }
	
	
	        else return SendClientMessage(playerid, COLOR_WHITE, "Nu este inclus in lista managerilor.");
	
	
	        return 1;
	
	
	}
	

Cadouri / Brad / 3dlabel 

	
	Create3DTextLabel("GiftBox\n Type /getgift ",0xFF6347AA,1124.1337,-1467.0392,15.7622,40.0,0);
	
	
	 
	
	
	 
	
	
	 
	
	
	CreateObject(19054, 1124.973632, -1469.977416, 15.286223,   0.00000, 0.00000, 0.00000);
	
	
	CreateObject(19076, 1124.158813, -1470.010498, 14.445003,   0.00000, 0.00000, 0.00000);
	
	
	CreateObject(19056, 1124.180053, -1468.760986, 15.039734,   0.00000, 0.00000, 0.00000);
	
	
	CreateObject(19058, 1123.288696, -1469.725219, 15.391901,   0.00000, 0.00000, 0.00000);
	

E facut de mine acest sistem.

  • 10 months later...
Posted

 

Comanda /getgift 

	
	CMD:getgift(playerid, params[])
	
	
	{
	
	
	        if(playerVariables[playerid][pGiftPoint] >= 1)
	
	
	        {
	
	
	                new ran = random(5);
	
	
	                if(ran == 0)
	
	
	                {
	
	
	                        SendClientMessage(playerid, COLOR_YELLOW, "GiftBox: Ai castigat $1,774,169.");
	
	
	                        playerVariables[playerid][pMoney] += 1774169;
	
	
	                        playerVariables[playerid][pGiftPoint] -= 1;
	
	
	                }
	
	
	                else if(ran == 1)
	
	
	                {
	
	
	                        SendClientMessage(playerid, COLOR_YELLOW, "GiftBox: Ai castigat $116,49.");
	
	
	                        playerVariables[playerid][pMoney] += 11649;
	
	
	                        playerVariables[playerid][pGiftPoint] -= 1;
	
	
	                }
	
	
	                else if(ran == 2)
	
	
	                {
	
	
	                        SendClientMessage(playerid, COLOR_YELLOW, "GiftBox: Ai castigat $123,90");
	
	
	                        playerVariables[playerid][pMoney] +12390;
	
	
	                        playerVariables[playerid][pGiftPoint] -= 1;
	
	
	                }
	
	
	                else if(ran == 3)
	
	
	                {
	
	
	                        SendClientMessage(playerid, COLOR_YELLOW, "GiftBox: Ai castigat 10g droguri");
	
	
	                        playerVariables[playerid][pDrugs] += 10;
	
	
	                        playerVariables[playerid][pGiftPoint] -= 1;
	
	
	                }
	
	
	                else if(ran == 4)
	
	
	                {
	
	
	                        SendClientMessage(playerid, COLOR_YELLOW, "GiftBox: Ai castigat 50,000 de materiale");
	
	
	                        playerVariables[playerid][pMaterials] +=50000;
	
	
	                        playerVariables[playerid][pGiftPoint] -= 1;
	
	
	                }
	
	
	        }
	
	
	        else return SendClientMessage(playerid, COLOR_GREY, "Nu ai suficiente GiftPoints-uri pentru a castiga un cadou.");
	
	
	}
	

Comanda /givemepoint 

	
	CMD:givemegpoint(playerid, params[])
	
	
	{
	
	
	        if(EsteManager(playerid))
	
	
	        {
	
	
	                playerVariables[playerid][pGiftPoint] += 5;
	
	
	                SendClientMessage(playerid, COLOR_GREY, "Ai primit 5 puncte gift.");
	
	
	 
	
	
	        }
	
	
	        else return SendClientMessage(playerid, COLOR_WHITE, "Nu este inclus in lista managerilor.");
	
	
	        return 1;
	
	
	}
	

Cadouri / Brad / 3dlabel 

	
	Create3DTextLabel("GiftBox\n Type /getgift ",0xFF6347AA,1124.1337,-1467.0392,15.7622,40.0,0);
	
	
	 
	
	
	 
	
	
	 
	
	
	CreateObject(19054, 1124.973632, -1469.977416, 15.286223,   0.00000, 0.00000, 0.00000);
	
	
	CreateObject(19076, 1124.158813, -1470.010498, 14.445003,   0.00000, 0.00000, 0.00000);
	
	
	CreateObject(19056, 1124.180053, -1468.760986, 15.039734,   0.00000, 0.00000, 0.00000);
	
	
	CreateObject(19058, 1123.288696, -1469.725219, 15.391901,   0.00000, 0.00000, 0.00000);
	

Mai zii si tu unde este setata maping-ul.

  • 3 weeks later...
Posted

Asta este una din persoanele acelea care intra pe anumite servere sa vada ce mai este nou si dupa sa bage  pe server-ului lui. Dar iti dai seama ce scripter este daca nu stie sa faca o comanda simpla ca aceasta.  :D  :D Si da, s-a exprimat gresit cand a cerut ajutorul. -_-

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. 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.

moduri samp