14.04.2012, 13:30
sempre que relogo, morro.
o que faзo ?
o que faзo ?
public OnPlayerSpawn(playerid)
{
if(GetPlayerSkin(playerid) == 0)
{
if(PlayerInfo[playerid][pSkin]== 0)
{
if(PlayerInfo[playerid][pSex] == 1)
{
PlayerInfo[playerid][pSkin]= 60;
SetPlayerSkin(playerid,PlayerInfo[playerid][pSkin]);
}
else
{
PlayerInfo[playerid][pSkin]= 56;
SetPlayerSkin(playerid,PlayerInfo[playerid][pSkin]);
}
}
else
{
SetPlayerSkin(playerid,PlayerInfo[playerid][pSkin]);
}
}
if (!AlreadyGiveWeapons[playerid]) SetTimerEx("LoadWeaponsToFile",250,false,"i",playerid);
SetTimer("TimerPos",1000,true);
if(gPlayerLogged[playerid])
{
SetPlayerSpawn(playerid);
SetPlayerColor(playerid,COLOR_CIVILIAN);
}
return 1;
}