[Include] Fly Camera - Originally by Kalcor
#14

It looked good, but it dosent work for me.
It just put me in spectate mode like im speccing nobody, im using simple code to toggle this:

Код:
CMD:flycam(playerid, params[])
{
    if(PVar[playerid][pAdminLVL] != 69) return CANTUSECMD
    
	if(UsingFlyCam[playerid] == false)
	{
	    UsingFlyCam[playerid] = true;
	    SetPlayerCamera(playerid, 1);
	    ShowInfoForPlayer(playerid, "~g~Flycam enabled!", 3000);
	}
	else
	{
	    UsingFlyCam[playerid] = false;
	    SetPlayerCamera(playerid, 0);
	    ShowInfoForPlayer(playerid, "~r~Flycam disabled!", 3000);
 	}
 	return 1;
}
Edit: It got solved when i changed from streamer to player objects.
Reply


Messages In This Thread
Fly Camera - Originally by Scott - by Gammix - 22.09.2015, 11:23
Re: Fly Camera - Originally by Kalcor - by ExTaZZ69 - 22.09.2015, 11:27
Re: Fly Camera - Originally by Kalcor - by Lordzy - 22.09.2015, 12:35
Re: Fly Camera - Originally by Kalcor - by SecretBoss - 22.09.2015, 13:00
Re: Fly Camera - Originally by Kalcor - by Stanford - 22.09.2015, 13:02
Re: Fly Camera - Originally by Kalcor - by n0minal - 22.09.2015, 19:54
Re: Fly Camera - Originally by Kalcor - by Gammix - 23.09.2015, 02:51
Re: Fly Camera - Originally by Kalcor - by jlalt - 23.09.2015, 03:16
Re: Fly Camera - Originally by Kalcor - by X337 - 23.09.2015, 04:35
Re: Fly Camera - Originally by Kalcor - by Crayder - 23.09.2015, 04:57
Re: Fly Camera - Originally by Kalcor - by Crayder - 26.09.2015, 21:10
Re: Fly Camera - Originally by Kalcor - by Gammix - 27.09.2015, 06:44
Re: Fly Camera - Originally by Kalcor - by Crayder - 27.09.2015, 15:45
Re: Fly Camera - Originally by Kalcor - by Richie© - 23.01.2016, 11:10
Re: Fly Camera - Originally by Kalcor - by Jeroen52 - 14.02.2018, 02:58
Re: Fly Camera - Originally by Kalcor - by Chaprnks - 25.08.2018, 01:25

Forum Jump:


Users browsing this thread: 1 Guest(s)