pawn Код:
new bool:ComenzoCamara[MAX_PLAYERS];
public OnPlayerRequestClass(playerid, classid)
{
iSpawnSet[playerid] = 0;
SetPlayerPos(playerid,4098.5454,-1396.0684,714.0687);
SetPlayerInterior(playerid, 0);
SetPlayerFacingAngle(playerid, 32.4883);
if(ComenzoCamara[playerid] == false)
{
InterpolateCameraPos(playerid, 4407.319335, -1393.251831, 804.640808, 4107.176757, -1395.939208, 716.058837, 10000);
InterpolateCameraLookAt(playerid, 4402.560058, -1393.228149, 803.107543, 4102.177246, -1395.886962, 716.075683, 1000);
ComenzoCamara[playerid] = true;
}
PlayerTextDrawShow(playerid, SkinS[playerid]);
new skintexto[60];
format(skintexto, 60, "~b~Skin: ~w~ %d", classid);
PlayerTextDrawSetString(playerid, SkinS[playerid], skintexto);
return 1;
}