25.12.2016, 11:47
PHP код:
CMD:equiparvip(playerid, params[])
{
new
backpackitem,
containerid,
tmpitem,
pVip[MAX_PLAYERS];
if(pVip[playerid] < 1) return SendClientMessage(playerid, COLOR_RED, "Vocк nгo й V.I.P !");
{
backpackitem = CreateItem(item_Backpack);//Mochila Media
containerid = GetItemArrayDataAtCell(backpackitem, 1);
GivePlayerBag(playerid, backpackitem);
tmpitem = CreateItem(item_Wrench);//Chave Roda
AddItemToContainer(containerid, tmpitem);
tmpitem = CreateItem(item_Screwdriver);//Chave de Fenda
AddItemToContainer(containerid, tmpitem);
tmpitem = CreateItem(item_Hammer);//Martelo
AddItemToContainer(containerid, tmpitem);
tmpitem = CreateItem(item_DoctorBag);//Mala de Doutor
AddItemToContainer(containerid, tmpitem);
SendClientMessage(playerid, COLOR_GREEN, "Vocк pegou seus equipamentos VIP!");
return 1;
}
return 0;
}
Код:
return 0; }