22.12.2010, 14:12
pawn Код:
public OnPlayerSpawn(playerid)
{
if(IsPlayerNPC(playerid))
{
new npcname[24];
GetPlayerName(playerid, npcname, sizeof(npcname));
if(!strcmp(npcname, "Klauser", true))
{
SetPlayerSkin(playerid, 73);
}
if(!strcmp(npcname, "Nazista", true))
{
SetPlayerSkin(playerid, 74);
}
}
SetPlayerPos(playerid, 1958.3783,1343.1572,15.3746);
SetPlayerInterior(playerid, 0);
return true;
}