06.03.2009, 16:48
Hey guys
I added
an AccountInfo[playerid][Hours] to SeifAdmin Scipt
and to that it works tho....
but if i do a timer now like
and
then do a public of it like this
and did forward it,
it doesnt work...
it should add 1point to the score and AccountInfo[playerid][Hours].
I tried much stuff tho already :/
nutin helped i did it like
and other ways....
had it working already but then my hd went dang wild n ye... lost it had no backup...
n now it wont work again...
Hope u guyz can help me with that...
I added
an AccountInfo[playerid][Hours] to SeifAdmin Scipt
and to that it works tho....
but if i do a timer now like
pawn Code:
SetTimerEx("PlayedHours",360000,1,"d",playerid);
then do a public of it like this
pawn Code:
public PlayedHours(playerid)
{
SetPlayerScore(playerid,AccountInfo[playerid][Hours] +1;
}
it doesnt work...
it should add 1point to the score and AccountInfo[playerid][Hours].
I tried much stuff tho already :/
nutin helped i did it like
pawn Code:
public PlayedHours(playerid)
{
new score;
AccountInfo[playerid][Hours]+1;
score = AccountInfo[playerid][Hours];
SetPlayerScore(playerid,score);
}
had it working already but then my hd went dang wild n ye... lost it had no backup...
n now it wont work again...
Hope u guyz can help me with that...