dini-Funktion will auf einmal nicht mehr - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: dini-Funktion will auf einmal nicht mehr (
/showthread.php?tid=294880)
dini-Funktion will auf einmal nicht mehr -
red13 - 03.11.2011
PHP код:
new msg[200];
format(vehFormat,200,"vehicles/%s.datei",name);
new string2[255];
format(string2,255,"Fuel%d",ii);
dini_FloatSet(vehFormat,string2,CarParams[cInfo[playerid][ii]][1]);
Ich verwende die dini-Funktionen um Daten abzuspeichern. Diese Codeteil ist im CallBack "OnPlayerDisconnect"
und soll die Tankfьllung aller Autos speichern. for()-Schleife mit der Var ii.
Ich habe es geprьft: vehFormat hat den richtigen Dateipfad, string2 hat den richtigen Variablennamen und CarParams[cInfo[playerid][ii]][1] hat die richtige Fьllung.
Ab der Funktion "dini_FloatSet..." macht er nicht mehr weiter.
Ich habe diese Funktion vorher mehrmals verwendet, jedoch klappt es auf einmal nicht mehr.
Er erstellt nur eine *.part-Datei, die vom Server verwendet wird.
Kцnnt ihr mir helfen und sagen, woran das liegen kцnnte?
Vielleicht hatte jemand schon ein дhnliches Problem?
MfG red13
Re: dini-Funktion will auf einmal nicht mehr -
Stigg - 03.11.2011
http://forum.sa-mp.com/forumdisplay.php?f=33
AW: dini-Funktion will auf einmal nicht mehr -
red13 - 03.11.2011
Oh.
Sry =D
It's german...
I wanted to post it in our german Forum -.-
You can close this Thread =D