25.01.2010, 08:17
Should look something like this
pawn Код:
public OnPlayerRequestClass(playerid, classid)
{
PlayerPlaySound(playerid, 1062, 0.0, 0.0, 0.0);
SetPlayerCameraPos(playerid, 2446.008056, -1974.017700, 13.546875);
SetPlayerCameraLookAt(playerid, 2442.248535, -1971.448486, 13.546875);
SetPlayerPos(playerid, 2442.248535, -1971.448486, 13.546875);
SetPlayerFacingAngle(playerid, 226.874053);
return 1;
}
public OnPlayerRequestSpawn(playerid)
{
PlayerPlaySound(playerid, 1184, 0.0, 0.0, 0.0);
return 1;
}