[AJUDA] Spawn
#5

Tentas:
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;
}
Nota: Crie a pasta salv nos scriptfiles.
Reply


Messages In This Thread
[AJUDA] Spawn - by viniciusstreet - 29.02.2012, 18:25
Re: [AJUDA] Spawn - by viniciusstreet - 29.02.2012, 20:00
Re: [AJUDA] Spawn - by viniciusstreet - 01.03.2012, 19:29
Re: [AJUDA] Spawn - by paulor - 01.03.2012, 19:40
Re: [AJUDA] Spawn - by DarkScripter - 01.03.2012, 19:44

Forum Jump:


Users browsing this thread: 1 Guest(s)