How to make this System WITHOUT Dini?
#1

I need a saving system,That saves numbers so i can use it in my script like +1 -1 and to only allow with certain number ammounts to use commands like <10 and >10 etc and i can see the ammount with /ammount

Please not with Dini i cant use the Dini icludude on this specific GM(Conficting with foreach i think)

Heres wat i was using before with Dini include but like i said cant use on this GM

It was:

Код:
enum pInfo
{
      Amount,
}

new PlayerInfo[MAX_PLAYERS][pInfo];
And like this to use in the script to allow/disallow commands with certain amounts etc
Код:
if(PlayerInfo[playerid][Amount] < 200)
And like this to put in a /ammount command
Код:
format(amount, sizeof(amount),"You Have This %d Amount",PlayerInfo[playerid][Amount] );
And to use to give or take ammounts
Код:
PlayerInfo[playerid][Amount] = PlayerInfo[playerid][Amount] +1;

PlayerInfo[playerid][Amount] = PlayerInfo[playerid][Amount] -1;
etc
etc
etc

Now is there a way possible to use this withiout Dini?
Reply


Messages In This Thread
How to make this System WITHOUT Dini? - by <Weponz> - 01.11.2010, 06:38
Re: How to make this System WITHOUT Dini? - by ViruZZzZ_ChiLLL - 01.11.2010, 07:03
Re: How to make this System WITHOUT Dini? - by iggy1 - 01.11.2010, 07:41

Forum Jump:


Users browsing this thread: 1 Guest(s)