[Include] [INC] Player Inventory by Joe Staff
#21

nice one
keep working
Reply
#22

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 !
Reply
#23

Nice work man
Reply
#24

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"
Reply
#25

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.
Reply
#26

תודה רועיקוש
Reply
#27

You would add new sides, which would can hold more.
Reply
#28

are you still developing this script or you abondoned it
Reply
#29

it duz not work
Reply
#30

Nice job i like it soo much dude
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)