[PEDIDO] Camera girando em torno no OnPlayerRequestClass
#8

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;
}
Tenta.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)