Hab es eingetragen, jetzt habe ich das hier
Code
.pwn(1024) : warning 219: local variable "bizid" shadows a variable at a preceding level
.pwn(1024) : warning 213: tag mismatch
.pwn(1024) : warning 205: redundant code: constant expression is zero
.pwn(1024) : error 022: must be lvalue (non-constant)
.pwn(1027 -- 1028) : warning 213: tag mismatch
.pwn(1027 -- 1028) : warning 213: tag mismatch
.pwn(1027 -- 1028) : warning 213: tag mismatch
.pwn(1027 -- 1028) : warning 213: tag mismatch
.pwn(1024) : warning 204: symbol is assigned a value that is never used: "bizid"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
1 Error.
Alles anzeigen
Code
stock ServerSpeichern()
{
// BIZID < 1; = 1 UNTERNEHMEN
for(new bizid = 0; bizid < 1; bizid++)
{
new query[256];
mysql_format(Handle,query,sizeof(query),"Update `biz` Set `biz`='%d',`waren`='%d',`besitzer`='%d',`bizkasse`='%d' WHERE `ID`='%i'",
bInfo[bizid][bbiz],bInfo[bizid][bwaren],bInfo[bizid][bbesitzer],bInfo[bizid][bbizkasse],bInfo[bizid][db_id]);
mysql_pquery(Handle,query,"","");
}
}
Alles anzeigen
//EDIT
hier nochmal das Enum nicht das da was falsch ist