Variable increaser
#10

Nope its not working, what am i doing wrong?
pawn Код:
forward ActivityAdd(playerid);
public ActivityAdd(playerid)
{
 new Query[128];
 playerinfo[playerid][Activity]++;
 format(Query, sizeof(Query),"UPDATE `playerinfo` SET `Activity` = '%i' WHERE `user` = '%s'",playerinfo[playerid][Activity], pName(playerid));
 mysql_query(Query);
 return playerinfo[playerid][Activity];
}
Reply


Messages In This Thread
Variable increaser - by Criss_Angel - 30.01.2011, 15:59
Re: Variable increaser - by [03]Garsino - 30.01.2011, 16:04
Re: Variable increaser - by Criss_Angel - 30.01.2011, 16:14
Re: Variable increaser - by Criss_Angel - 30.01.2011, 16:48
Re: Variable increaser - by Criss_Angel - 30.01.2011, 17:26
Re: Variable increaser - by [03]Garsino - 30.01.2011, 19:31
Re: Variable increaser - by PeteShag - 30.01.2011, 20:23
Re: Variable increaser - by Criss_Angel - 31.01.2011, 07:42
Re: Variable increaser - by Criss_Angel - 31.01.2011, 07:47
Re: Variable increaser - by Criss_Angel - 31.01.2011, 07:50

Forum Jump:


Users browsing this thread: 1 Guest(s)