Tag,
Hab 'n kleines Problem, das ich nicht lösen kann.. es geht um diese Zeile
while(gw<sizeof(GangwarZones))
Ausschnitt:
stock OnGameModeSave()
{
new gw = 0,
mainquery[2500],
query[800],
r = 0,
sm = 1,
drg = 0,
fv = 0,
biz = 1,
msten = 0,
wtafel = 0,
haus = 1,
gutscheinn = 1,
fvr = 1,
while(gw<sizeof(GangwarZones))
{
format(mainquery,sizeof(mainquery),"UPDATE "#DATENBANKTAG"_gangwar SET GangWarZoneOwner='%d',GangWarZoneAttacker='%d',War_OwnerPoints='%d',War_AttackerPoints='%d',War_Started='%d',War_Time='%d' WHERE GangZoneID='%d'",
GangwarZones[gw][War_Owner],GangwarZones[gw][War_Attacker],GangwarZones[gw][War_OwnerPoints],GangwarZones[gw][War_AttackerPoints],GangwarZones[gw][War_Started],GangwarZones[gw][War_Time],gw);
mysql_function_query(MySqlConnection,mainquery,false,"","");
gw++;
}
Error:
C:\Users\Julian\Desktop\Script\gamemodes\Newscript.pwn(78225) : error 001: expected token: "-identifier-", but found "while"