Re: [INC] Player Inventory by Joe Staff -
James_Alex - 19.08.2009
nice one
keep working
Re: [INC] Player Inventory by Joe Staff -
dafel2 - 20.08.2009
I am just wondering if you could add a system what saves your items.
And make it with menurows
Btw Using this on my server as medkits and for more stuff
!
Re: [INC] Player Inventory by Joe Staff -
_GriLLeX_ - 21.08.2009
Nice work man
Re: [INC] Player Inventory by Joe Staff -
Joe Staff - 21.08.2009
Quote:
Originally Posted by revenngeR
I am just wondering if you could add a system what saves your items.
And make it with menurows
Btw Using this on my server as medkits and for more stuff !
|
Why menu rows? The menus in this game look horrible and are gimped by limitation
Quote:
Originally Posted by oOCharlieOo B
good scriping here
|
Quit posting spam on everyone's topic, you've gone to over a dozen threads and posted "nice scripting here"
Re: [INC] Player Inventory by Joe Staff -
CaHbKo - 08.11.2009
Trying to make it save, but this crashes the server:
pawn Код:
if(!strcmp(cmdtext[1],"SaveInv",true,14))
{
new File:inventory = fopen("CRP_Scriptfiles/Inventories/inv.ini", io_write);
new string[MAX_ITEM_NAME+20];
new amount = strval(cmdtext[16]);
GetPlayerName(amount,string,sizeof(string));
for(new index;index<MAX_ITEMS;index++)
{
PlayerInventoryPlayerItemData(playerid,index,string,amount);
format(string,sizeof(string),"%s -- %d",string,amount);
fwrite(inventory, string);
}
fclose(inventory);
}
I made it with a command just for tests. I will make it automatic after i make it work.
Help please.
EDIT: The path is correct, the folder and file exist.
Re: [INC] Player Inventory by Joe Staff -
zikit232 - 08.11.2009
תודה רועיקוש
Re: [INC] Player Inventory by Joe Staff -
Maniek - 10.11.2009
You would add new sides, which would can hold more.
Re: [INC] Player Inventory by Joe Staff -
armyoftwo - 10.12.2009
are you still developing this script or you abondoned it
Re: [INC] Player Inventory by Joe Staff -
kross1996 - 02.05.2011
it duz not work
Re: [INC] Player Inventory by Joe Staff -
Naruto_Emilio - 06.05.2011
Nice job i like it soo much dude