27.11.2010, 16:02
Public OnPlayerConnect
TogglePlayerSpectating(playerid, 1);
If you have a register or login put
TogglePlayerSpectating(playerid, 0);
if you don't have that then make a function and a timer
Note i used this and if you push f4 and die it skipps class selection and just respawns you.. but mine set to spawn at last saved position...
TogglePlayerSpectating(playerid, 1);
If you have a register or login put
TogglePlayerSpectating(playerid, 0);
if you don't have that then make a function and a timer
Note i used this and if you push f4 and die it skipps class selection and just respawns you.. but mine set to spawn at last saved position...
pawn Код:
public OnPlayerRequestClass(playerid)
{
SetTimer("SpawnPlayer",100,false);
return 1;
}
forward SpawnPlayer(playerid);
public SpawnPlayer(playerid)
{
SetPlayerInterior(playerid,0);
SetPlayerPos(playerid, 1683.3362,-2326.4019,13.5469);
SetPlayerFacingAngle(playerid, 357.8167);
SpawnPlayer(playerid);
return 1;
}