[DUV]funзoes
#9

Amigo pelo que entendi vocк quer guardar a skin do player quando ele logar e quando ele morrer setar nгo й?
Entгo faz assim.

pawn Код:
#define SLOTS 20 // Mude o 20 para a qnt de slots de seu servidor
pawn Код:
new skinid[SLOTS];
pawn Код:
public OnPlayerSpawn(playerid)
{
    GetPlayerSkin(playerid, skinid);
    return 1;
}
pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
    SetPlayerSkin(playerid, skinid);
    return 1;
}
Reply


Messages In This Thread
[DUV]funзoes - by Skoll - 11.08.2011, 22:15
Re: [DUV]funзoes - by JonathanFeitosa - 11.08.2011, 22:17
Re: [DUV]funзoes - by Allan Kardec - 11.08.2011, 22:18
Re: [DUV]funзoes - by diretor7 - 11.08.2011, 22:21
Re: [DUV]funзoes - by Skoll - 11.08.2011, 22:24
Re: [DUV]funзoes - by Allan Kardec - 11.08.2011, 22:26
Re: [DUV]funзoes - by Skoll - 11.08.2011, 22:27
Re: [DUV]funзoes - by Skoll - 11.08.2011, 22:29
Re: [DUV]funзoes - by Allan Kardec - 11.08.2011, 22:30
Re: [DUV]funзoes - by JonathanFeitosa - 11.08.2011, 22:30

Forum Jump:


Users browsing this thread: 1 Guest(s)