18.04.2014, 19:37
Why you make it like that??
why didn't you make it like that??
and is the score , cash , health and armor saved or just happen like the position??
pawn Код:
if(!dini_Exists(file2)) { // If the file exist
}
else {
dini_FloatSet(file2, "PositionX", PX[playerid]); // Set's "Score"
dini_FloatSet(file2, "PositionY", PY[playerid]); // Set's "Score"
dini_FloatSet(file2, "PositionZ", PZ[playerid]); // Set's "Score"
}
pawn Код:
if(dini_Exists(file2)) { // If the file exist
dini_FloatSet(file2, "PositionX", PX[playerid]); // Set's "Score"
dini_FloatSet(file2, "PositionY", PY[playerid]); // Set's "Score"
dini_FloatSet(file2, "PositionZ", PZ[playerid]); // Set's "Score"
}