04.07.2012, 07:42
TogglePlayerSpectating function, the spawn button has disappeared.
Now, I have two problems :
- When the player logs, I do : TogglePlayerSpectating(playerid, 0); (When the spectating is turned off, OnPlayerSpawn will automaticly be called.). The problem is that, when the player logs, the player doesn't spawn : the spawn button appears and the player has to click it for spawn. I added SpawnPlayer(playerid); but it doesn't function...
- I do TogglePlayerSpectating(playerid, 1); I have a view over a sea. How to change it ? On a lot of servers, there is a view on offices during connection or registration...
Thanks in advance !
Now, I have two problems :
- When the player logs, I do : TogglePlayerSpectating(playerid, 0); (When the spectating is turned off, OnPlayerSpawn will automaticly be called.). The problem is that, when the player logs, the player doesn't spawn : the spawn button appears and the player has to click it for spawn. I added SpawnPlayer(playerid); but it doesn't function...
- I do TogglePlayerSpectating(playerid, 1); I have a view over a sea. How to change it ? On a lot of servers, there is a view on offices during connection or registration...
Thanks in advance !