public OnPlayerRequestSpawn(playerid)
{
if(GetPlayerSkin(playerid) == 115)
{
glob270[playerid] = 1;
SetPlayerColor(playerid, 0xF64100AA);
SetPlayerCheckpoint(playerid, 2584.8962, -1648.1999, 2.3726, 10000.0);
SetPlayerTeam(playerid, 1);
SetPlayerTeam(playerid, 2);
}
else if(GetPlayerSkin(playerid) == 116)
{
glob270[playerid] = 1;
SetPlayerColor(playerid, 0xF64100AA);
SetPlayerCheckpoint(playerid, 2584.8962, -1648.1999, 2.3726, 10000.0);
SetPlayerTeam(playerid, 1);
SetPlayerTeam(playerid, 2);
}
else if(GetPlayerSkin(playerid) == 105)
{
glob270[playerid] = 2;
SetPlayerColor(playerid, 0x007AF6AA);
SetPlayerCheckpoint(playerid, 2581.4267, -2191.6917, -0.2188, 10000.0);
SetPlayerTeam(playerid, 2);
SetPlayerTeam(playerid, 1);
}
else if(GetPlayerSkin(playerid) == 106)
{
glob270[playerid] = 2;
SetPlayerColor(playerid, 0x007AF6AA);
SetPlayerCheckpoint(playerid, 2581.4267, -2191.6917, -0.2188, 10000.0);
SetPlayerTeam(playerid, 2);
SetPlayerTeam(playerid, 1);
}
else if(GetPlayerSkin(playerid) == 29)
{
glob270[playerid] = 3;
SetPlayerColor(playerid, 0x7AE655AA);
SetPlayerTeam(playerid, 3);
}
if(!globA40[playerid])
{
return 0;
}
return 1;
}
Вообще то это и есть анти тим килл