04.01.2013, 01:37
pawn Код:
if(Player[playerid][FacSpawn] == 1)
{
SetSpawnInfo(playerid, 0, Player[playerid][Clothes1], Factions[Player[playerid][Faction]][fSpawnPosX][1], Factions[Player[playerid][Faction]][fSpawnPosY][1], Factions[Player[playerid][Faction]][fSpawnPosZ][1], Factions[Player[playerid][Faction]][fSpawnPosA][1], 0, 0, 0, 0, 0, 0);
SetPlayerInterior(playerid, Factions[Player[playerid][Faction]][fSpawnInt][1]);
SetPlayerVirtualWorld(playerid, Factions[Player[playerid][Faction]][fSpawnWorld][1]);
}
else if(Player[playerid][FacSpawn] == 2)
{
SetSpawnInfo(playerid, 0, Player[playerid][Clothes1], Factions[Player[playerid][Faction]][fSpawnPosX][2], Factions[Player[playerid][Faction]][fSpawnPosY][2], Factions[Player[playerid][Faction]][fSpawnPosZ][2], Factions[Player[playerid][Faction]][fSpawnPosA][2], 0, 0, 0, 0, 0, 0);
SetPlayerInterior(playerid, Factions[Player[playerid][Faction]][fSpawnInt][2]);
SetPlayerVirtualWorld(playerid, Factions[Player[playerid][Faction]][fSpawnWorld][2]);
}
else if(Player[playerid][FacSpawn] == 3)
{
SetSpawnInfo(playerid, 0, Player[playerid][Clothes1], Factions[Player[playerid][Faction]][fSpawnPosX][3], Factions[Player[playerid][Faction]][fSpawnPosY][3], Factions[Player[playerid][Faction]][fSpawnPosZ][3], Factions[Player[playerid][Faction]][fSpawnPosA][3], 0, 0, 0, 0, 0, 0);
SetPlayerInterior(playerid, Factions[Player[playerid][Faction]][fSpawnInt][3]);
SetPlayerVirtualWorld(playerid, Factions[Player[playerid][Faction]][fSpawnWorld][3]);
}
Thanks