Posts: 1,148
Threads: 19
Joined: Jan 2007
Reputation:
0
SetTimerEx("name",time,0,"i",playerid);
Like that?
Posts: 1,148
Threads: 19
Joined: Jan 2007
Reputation:
0
Store the amount planted in a varible, and return the variable in the timer Like:
Varible[playerid] = AmountPlanted[playerid];
Posts: 25
Threads: 10
Joined: Jun 2009
Reputation:
0
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;
}