28.11.2016, 06:06
Hey guys. I've come up with my own sort of class request sort of thing and I don't want the server to have OnPlayerRequestClass is there any way to bypass or disable? I've done all the
However I don't want to spawn the player, I want them to stay in "Camera Mode" without spawning them until they press my created "Spawn" button.
I've tried TogglePlayerSpectating(playerid, true); however that ruins all the cameras and my create class request sort of thing.
Does anyone have any ideas??
PHP код:
public OnPlayerRequestClass(playerid,classid)
{
SpawnPlayer(playerid);
return 1;
}
I've tried TogglePlayerSpectating(playerid, true); however that ruins all the cameras and my create class request sort of thing.
Does anyone have any ideas??