Login, Spawn button [ Help needed! ]
#1

Ok, so i managed to remove the spawn button with The TogglePlayerSpectate function.
The problem is that i want it to spectate a other location.
i been searching around for hours without any luck.
some say it's impossible but i dont think it is.

you can spectate a player and a car, why cant you spectate some place around the map?

Any solution is appreciated! thx

Anyway here's the code im using:

Код:
	
if (Islogged == 0){
	Islogged = 1;
 	TogglePlayerSpectating(playerid, 1);
     ShowPlayerDialog(playerid,1,DIALOG_STYLE_INPUT,"Login","Enter your password below:","Login","Cancel");}else{
  	SetPlayerPos(playerid, 1958.3783, 1343.1572, 15.3746);
	SetPlayerCameraPos(playerid, 1958.3783, 1343.1572, 15.3746);
	SetPlayerCameraLookAt(playerid, 1958.3783, 1343.1572, 15.3746);}
return 1;
Reply
#2

Nvm, i worked it out.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)