Guten Tag Community
Hoffe ihr könnt mir diesmal helfen.
Problem sind diese Errors:
C:\Users\Stefan\Desktop\New-Server\gamemodes\script.pwn(1446) : warning 202: number of arguments does not match definition
C:\Users\Stefan\Desktop\New-Server\gamemodes\script.pwn(1446) : warning 202: number of arguments does not match definition
C:\Users\Stefan\Desktop\New-Server\gamemodes\script.pwn(1446) : warning 202: number of arguments does not match definition
C:\Users\Stefan\Desktop\New-Server\gamemodes\script.pwn(1446) : warning 202: number of arguments does not match definition
C:\Users\Stefan\Desktop\New-Server\gamemodes\script.pwn(1446) : warning 202: number of arguments does not match definition
C:\Users\Stefan\Desktop\New-Server\gamemodes\script.pwn(1832) : error 001: expected token: "-string end-", but found "-identifier-"
C:\Users\Stefan\Desktop\New-Server\gamemodes\script.pwn(1832) : error 029: invalid expression, assumed zero
C:\Users\Stefan\Desktop\New-Server\gamemodes\script.pwn(1836) : error 021: symbol already defined: "format"
C:\Users\Stefan\Desktop\New-Server\gamemodes\script.pwn(1839) : error 010: invalid function or declaration
C:\Users\Stefan\Desktop\New-Server\gamemodes\script.pwn(1841) : error 010: invalid function or declaration
C:\Users\Stefan\Desktop\New-Server\gamemodes\script.pwn(1842) : error 010: invalid function or declaration
C:\Users\Stefan\Desktop\New-Server\gamemodes\script.pwn(1843) : error 010: invalid function or declaration
C:\Users\Stefan\Desktop\New-Server\gamemodes\script.pwn(1845) : error 010: invalid function or declaration
C:\Users\Stefan\Desktop\New-Server\gamemodes\script.pwn(1849) : warning 219: local variable "query" shadows a variable at a preceding level
C:\Users\Stefan\Desktop\New-Server\gamemodes\script.pwn(1864) : warning 203: symbol is never used: "data"
C:\Users\Stefan\Desktop\New-Server\gamemodes\script.pwn(1864) : warning 203: symbol is never used: "query"
Alles anzeigen
Zeilen:
SpielerInfo[playerid][pGeld]=MySQLGetData("userdata","pGeld","Name",GetName(playerid),SUBTYPE_INT); //1446
stock MySQLGetData(database[],object[],bedingung[],bedingung2[],subtype) //1832
{ //1833
//"Name='%s'" //1834
new query[128],data[128]; //1835
format(query,sizeof(query),"SELECT %s FROM %s WHERE %s='%s'",object,database,bedingung,bedingung2); //1836
mysql_query(query); //1837
mysql_store_result(); //1838
if(mysql_num_rows()) //1839
{ //1840
if(subtype==SUBTYPE_INT) return strval(data); //1841
if(subtype==SUBTYPE_STRING) return data; //1842
if(subtype==SUBTYPE_FLOAT) return floatstr(data); //1843
} //1844
return 1; //1845
} //1846
Danke für das lesen.
mfg.
Opa
EDIT// Zeilen verwächselt