27.04.2013, 09:29
Hello,
Can anyone give me an simple example like how can i save/load metals.
Here's my cmd : /metals - to open inv
I need that it should create a file for every player in Scriptfiles, and how can i give metal to someone like, if he got A gold metal, how can do like : GivePlayer.... ?
Thanks.
Can anyone give me an simple example like how can i save/load metals.
Here's my cmd : /metals - to open inv
pawn Код:
CMD:metals(playerid, params[])
{
ShowPlayerDialog(playerid, metals, DIALOG_STYLE_MSGBOX,"Metals","Metal Ore : %d\nGold : %d\nDiamond : %d\nSilver : %d\nTin : %d\nLead : %d\nIron : %d\nCobalt : %d\nTitanium : %d\nPlatinum : %d\nCopper : %d\nManganese : %d\nMercury : %d");
return 1;
}
Thanks.