21.03.2010, 18:08
Hello Guys,
I have a problem with the MYSQL-Plugin with Pawno the PAWN editor I can't write unlimited lines
but the MYSQL system needs it how I can it make other
here:
I want it so:
I use this Plugin und this Include
http://www.downloads.realoa.de/Sonst...eandPlugin.rar
-Dedi
I have a problem with the MYSQL-Plugin with Pawno the PAWN editor I can't write unlimited lines
but the MYSQL system needs it how I can it make other
here:
Код:
new mystr[256];
format (mystr,sizeof(mystr),
"Name='%s',Admin='%d',Kills='%d',Deaths='%d',Logins='%d',Freischaltung='%d',X='%f',Y='%f',Z='%f',CX='%f',CY='%f',CZ='%f',HX='%f',HY='%f',HZ='%f',Crashed='%d',Skin='%d',Polizist='%d',PolizeiSkin='%d',ADAC='%d',ADACSkin='%d'",
tname,
tadmin,
tkills,
tdeaths,
tlogins,
tfrei,
tx,
ty,
tz,
tcx,
tcy,
tcz,
thx,
thy,
thz,
tcrash,
tskin,
tpolizei,
tpolizeiskin,
tadac,
tadacskin);
if (!InsertMySQL("tabelle",mystr)) {printf("Daten konnten nicht eingefьgt werden!");}
Код:
new mystr[256];
format (mystr,sizeof(mystr),"Name='%s'",PlayerName(playerid));
if (!InsertMySQL("tabelle",mystr)) {printf("Daten konnten nicht eingefьgt werden!");}
format (mystr,sizeof(mystr),"Admin='%d'",Account[playerid][Admin]);
if (!InsertMySQL("tabelle",mystr)) {printf("Daten konnten nicht eingefьgt werden!");}
http://www.downloads.realoa.de/Sonst...eandPlugin.rar
-Dedi

