Hab folgene Errors:
(4090) : error 017: undefined symbol "LoadPlayerCar"
(7154) : warning 225: unreachable code
(7155) : warning 209: function "mysqlget" should return a value
(7375) : error 017: undefined symbol "LoadPlayerCar"
(7446) : warning 217: loose indentation
(7446) : error 029: invalid expression, assumed zero
(7446) : error 017: undefined symbol "LoadPlayerCar"
(7528) : error 030: compound statement not closed at the end of file (started at line 7380)
Zeilen
if(mysqlget("PlayerCar",string,"PlayerCars",data2)) { LoadPlayerCar(playerid); }
stock mysqlget(table[],bedien[],abfrag[],data[]){ new query[128]; format(query,sizeof(query),"SELECT %s FROM %s WHERE %s",abfrag,table,bedien); mysql_query(query); mysql_store_result(); if(mysql_num_rows()) { mysql_fetch_field(abfrag, data); mysql_free_result(); return true; } else { return false; } mysql_free_result(); //Zeile 7154} // Zeile 7155
stock LoadPlayerCar(playerid) //Zeile 7446
Vielen Dank im Voraus
//edit 1+2
Überschrift geändert