23.07.2018, 14:57
Good morning everyone,
I have a little problem with spawnear. My character takes several seconds to reappear.
public OnPlayerRequestClass(playerid, classid)
{
SetSpawnInfo(playerid, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
TogglePlayerSpectating(playerid, true);
return 1;
}
To spawn player i use:
TogglePlayerSpectating(playerid, false);
I have a little problem with spawnear. My character takes several seconds to reappear.
public OnPlayerRequestClass(playerid, classid)
{
SetSpawnInfo(playerid, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
TogglePlayerSpectating(playerid, true);
return 1;
}
To spawn player i use:
TogglePlayerSpectating(playerid, false);