23.05.2012, 20:20
pawn Код:
{
format(string,sizeof(string),"Admin Level: %i | Player Level: %i | XP Points: %d | Faction: Civilian(n/a)", Player[playerid][AdminLevel], Player[playerid][Level], Player[playerid][ExperiencePoints]);
SendClientMessage(playerid, LIBLUE, string);
KillTimer(TutorialCameraTimer[playerid]);
if(Player[playerid][SpawnPoint] == 1) //North Caravan Park
{
TogglePlayerSpectating(playerid, false);
if(Player[playerid][ClothesUsed] == 1)
{
print("Working");
SetSpawnInfo(playerid, 0, Player[playerid][Clothes1], 765.9069,361.9311,20.8550,174.3097, 0, 0, 0, 0, 0, 0);
SpawnPlayer(playerid);
}
else if(Player[playerid][ClothesUsed] == 2)
{
print("Working");
SetSpawnInfo(playerid, 0, Player[playerid][Clothes2], 765.9069,361.9311,20.8550,174.3097, 0, 0, 0, 0, 0, 0);
SpawnPlayer(playerid);
}
else if(Player[playerid][ClothesUsed] == 3)
{
SetSpawnInfo(playerid, 0, Player[playerid][Clothes3], 765.9069,361.9311,20.8550,174.3097, 0, 0, 0, 0, 0, 0);
SpawnPlayer(playerid);
}
}
else if(Player[playerid][SpawnPoint] == 2) //Blueberry Caravan Park
{
TogglePlayerSpectating(playerid, false);
if(Player[playerid][ClothesUsed] == 1)
{
SetSpawnInfo(playerid, 0, Player[playerid][Clothes1], 252.1177,-310.5331,1.5836,52.7107, 0, 0, 0, 0, 0, 0);
SpawnPlayer(playerid);
}
else if(Player[playerid][ClothesUsed] == 2)
{
SetSpawnInfo(playerid, 0, Player[playerid][Clothes2], 252.1177,-310.5331,1.5836,52.7107, 0, 0, 0, 0, 0, 0);
SpawnPlayer(playerid);
}
else if(Player[playerid][ClothesUsed] == 3)
{
SetSpawnInfo(playerid, 0, Player[playerid][Clothes3], 252.1177,-310.5331,1.5836,52.7107, 0, 0, 0, 0, 0, 0);
SpawnPlayer(playerid);
}
SetPlayerVirtualWorld(playerid, 0);
}
else if(Player[playerid][SpawnPoint] == 3) //Fort Carson Caravan Park
{
TogglePlayerSpectating(playerid, false);
if(Player[playerid][ClothesUsed] == 1)
{
SetSpawnInfo(playerid, 0, Player[playerid][Clothes1], -63.8390,952.9380,19.8695,105.5532, 0, 0, 0, 0, 0, 0);
SpawnPlayer(playerid);
SetPlayerVirtualWorld(playerid, 0);
}
else if(Player[playerid][ClothesUsed] == 2)
{
SetSpawnInfo(playerid, 0, Player[playerid][Clothes2], -63.8390,952.9380,19.8695,105.5532, 0, 0, 0, 0, 0, 0);
SpawnPlayer(playerid);
SetPlayerVirtualWorld(playerid, 0);
}
else if(Player[playerid][ClothesUsed] == 3)
{
SetSpawnInfo(playerid, 0, Player[playerid][Clothes3], -63.8390,952.9380,19.8695,105.5532, 0, 0, 0, 0, 0, 0);
SpawnPlayer(playerid);
SetPlayerVirtualWorld(playerid, 0);
}
}
else if(Player[playerid][SpawnPoint] == 4) //Montgomery Caravan Park
{
TogglePlayerSpectating(playerid, false);
if(Player[playerid][ClothesUsed] == 1)
{
SetSpawnInfo(playerid, 0, Player[playerid][Clothes1], 1284.0914,168.3455,20.4620,354.0366, 0, 0, 0, 0, 0, 0);
SetPlayerVirtualWorld(playerid, 0);
SpawnPlayer(playerid);
}
else if(Player[playerid][ClothesUsed] == 2)
{
SetSpawnInfo(playerid, 0, Player[playerid][Clothes2], 1284.0914,168.3455,20.4620,354.0366, 0, 0, 0, 0, 0, 0);
SetPlayerVirtualWorld(playerid, 0);
SpawnPlayer(playerid);
}
else if(Player[playerid][ClothesUsed] == 3)
{
SetSpawnInfo(playerid, 0, Player[playerid][Clothes3], 1284.0914,168.3455,20.4620,354.0366, 0, 0, 0, 0, 0, 0);
SetPlayerVirtualWorld(playerid, 0);
SpawnPlayer(playerid);
}
}
}
What's up?
Thanks!