18.08.2010, 23:32
pawn Код:
new Tempo;
public OnPlayerRequestClass(playerid)
{
Tempo = SetTimer("Virar",100,true);
return 1;
}
forward Virar(playerid);
public Virar(playerid)
{
new Float:X,Float:Y,Float:Z;
SetCamerPos(playerid,X,Y,Z+1);
return 1;
}
public OnPlayerSpawn(playerid)
{
KillTimer(Tempo);
return 1;
}