01.03.2012, 19:44
Tentas:
Nota: Crie a pasta salv nos scriptfiles.
pawn Код:
public GamemodeExit()
{
#define _PAST "/salv/"
static Float:x, Float:y, Float:z, n[24], str[128];
for(new i; i != MAX_PLAYERS; ++i)
{
GetPlayerPos(i, x,y,z);
GetPlayerName(i, n, 24);
format(str, sizeof(str),"%s%s", _PAST, n);
if(!dini_Exists(str)) dini_create(str);
dini_FloatSet(str,"X", x);
dini_FloatSet(str,"Y", y);
dini_FloatSet(str,"Z", z);
}
return 1;
}