28.10.2012, 18:31
use this:
frist, make a symbol on top
now put this code in OnPlayerConnect and OnPlayerDisconnect:
then make a cmd:
if you use zcmd so try this:
if not then put this in your OnPlayerCommand:
now goto your OnPlayerSpawn then put this
Rep if i Helped You
frist, make a symbol on top
pawn Код:
new PlayerSkin[MAX_PLAYERS];
pawn Код:
PlayerSkin[playerid] = -1;
if you use zcmd so try this:
pawn Код:
CMD:saveskin(playerid)
{
PlayerSkin[playerid] = GetPlayerSkin(playerid);
SendClientMessage(playerid,-1,"Skin Saved");
return 1;
}
pawn Код:
if(!strcmp("/saveskin",cmdtext,true))
{
PlayerSkin[playerid] = GetPlayerSkin(playerid);
SendClientMessage(playerid,-1,"Skin Saved");
return 1;
}
pawn Код:
if(PlayerSkin[playerid] != -1)
{
SetPlayerSkin(playerid, PlayerSkin[playerid]);
}