06.06.2009, 17:47
Like this?
new AmountPlanted[MAX_PLAYERS];
else if(SeedType == 2)
{
format(string, sizeof (string), "You have succesfully planted your %d Carrot Seed(s).", Amount);
SendClientMessage(playerid, 0x00FF0096, string);
AmountPlanted[playerid] += Amount;
Amount = AmountPlanted[playerid];
return 1;
}
new AmountPlanted[MAX_PLAYERS];
else if(SeedType == 2)
{
format(string, sizeof (string), "You have succesfully planted your %d Carrot Seed(s).", Amount);
SendClientMessage(playerid, 0x00FF0096, string);
AmountPlanted[playerid] += Amount;
Amount = AmountPlanted[playerid];
return 1;
}