Quote:
Originally Posted by BroZeus
use this one
pawn Код:
public DriftCancellation(playerid) { PlayerDriftCancellation[playerid] = 0; AnnaRaha(playerid,DriftPointsNow[playerid],0); new query[300], pname[24]; GetPlayerName(playerid, pname, 24); format(query, sizeof(query), "UPDATE `playerdata` SET Drift='%i' WHERE user='%s'", DriftPoints[playerid], pname); mysql_query(query);//u forgot this line DriftPointsNow[playerid] = 0; DriftPoints[playerid] = 0; scores[playerid] = 0; TextDrawHideForPlayer(playerid, Chet[playerid]); TextDrawHideForPlayer(playerid, ChetP[playerid]); }
|
Thanks man... It work now.