I found this file saved in my computer, from about a month ago...
Is it any good, or junk? And I am aware that there's a bit of GS1 in there, i'm fixing it up.
PHP Code:
//Shop Script
//#CLIENTSIDE
function onPlayerChats() {
if (player.chat =="/buy Hikari Mask");
if (player[INDEX].rupee >= 100) {
setplayerprop #P1,hikari-mask.png;
player[INDEX].rupee -= 100;
}
else {
message You don't have enough money!;
}
}
}
}
And I am aware that this is for one hat, I'm still not sure on how Parameters/tokens work...