10.01.2017, 01:52
item_LargeBackpack nгo estб definido.
Use assim e defina o item_LargeBackpack que resolverб.
pawn Код:
CMD:equiparmochila(playerid, params[])
{
new backpackitem, containerid, AddItemToContainer, CreateItem, tmpitem;
if(!IsPlayerVIP(playerid)) // Linha 546
{ //linha 547
backpackitem = CreateItem(item_LargeBackpack); //linha 548
containerid = GetItemArrayDataAtCell(backpackitem, 1);
GivePlayerBag(playerid, backpackitem);
tmpitem = CreateItem(item_Wrench);
AddItemToContainer(containerid, tmpitem);
tmpitem = CreateItem(item_Screwdriver);
AddItemToContainer(containerid, tmpitem);
tmpitem = CreateItem(item_Hammer);
AddItemToContainer(containerid, tmpitem);
tmpitem = CreateItem(item_DoctorBag);
AddItemToContainer(containerid, tmpitem);
}
return 1;
}