[FilterScript] Leans Helicopter Camera Mode
#14

Quote:
Originally Posted by lean1337
Посмотреть сообщение
pawn Код:
public THERMALOFF(playerid)
{
                TextDrawDestroy( crosshair[playerid] ); // Destroying the crosshair
                new vehid = playerveh[playerid];
                SCM( playerid,COLOR_LIGHTRED,"NOTICE: "COL_WHITE"You have left thermal mode." );
                DeletePVar( playerid,"ThermalActive" ); // Deleting thermalactive from player
                SetCameraBehindPlayer( playerid ); // Setting the camera back to the player
                DestroyObject(objectids[vehid]); // Destroying the light from the helicopter
                return 1;
}
Why are you doing "new vehid = playerveh"?

You can just simply use playerveh in place of it.
Quote:
Originally Posted by Crayder
pawn Код:
public THERMALOFF(playerid)
{
                TextDrawDestroy( crosshair[playerid] ); // Destroying the crosshair
                SCM( playerid,COLOR_LIGHTRED,"NOTICE: "COL_WHITE"You have left thermal mode." );
                DeletePVar( playerid,"ThermalActive" ); // Deleting thermalactive from player
                SetCameraBehindPlayer( playerid ); // Setting the camera back to the player
                DestroyObject(objectids[playerveh[playerid]]); // Destroying the light from the helicopter
                return 1;
}
Reply


Messages In This Thread
Leans Helicopter Camera Mode - by lean1337 - 11.02.2015, 19:49
Re: Leans Helicopter Camera Mode - by iAnonymous - 11.02.2015, 20:00
Re: Leans Helicopter Camera Mode - by MasonPlay - 11.02.2015, 20:11
Re: Leans Helicopter Camera Mode - by Crayder - 11.02.2015, 20:22
Re: Leans Helicopter Camera Mode - by lean1337 - 11.02.2015, 20:27
Re: Leans Helicopter Camera Mode - by Skully82 - 12.02.2015, 05:52
Re: Leans Helicopter Camera Mode - by JeaSon - 12.02.2015, 06:41
Re: Leans Helicopter Camera Mode - by Pottus - 12.02.2015, 11:59
Re: Leans Helicopter Camera Mode - by lean1337 - 12.02.2015, 15:12
Re: Leans Helicopter Camera Mode - by lean1337 - 12.02.2015, 16:39
Re: Leans Helicopter Camera Mode - by R3N3X - 12.02.2015, 18:05
Re: Leans Helicopter Camera Mode - by lean1337 - 13.02.2015, 03:16
Re: Leans Helicopter Camera Mode - by Meller - 13.02.2015, 09:50
Re: Leans Helicopter Camera Mode - by Crayder - 13.02.2015, 16:58
Re: Leans Helicopter Camera Mode - by lean1337 - 13.02.2015, 19:57
Re: Leans Helicopter Camera Mode - by Alex Magaсa - 13.02.2015, 20:23
Re: Leans Helicopter Camera Mode - by lean1337 - 14.02.2015, 03:31
Re: Leans Helicopter Camera Mode - by Crayder - 14.02.2015, 03:54
Re: Leans Helicopter Camera Mode - by lean1337 - 14.02.2015, 04:00
Re: Leans Helicopter Camera Mode - by Crayder - 14.02.2015, 17:15
Re: Leans Helicopter Camera Mode - by lean1337 - 14.02.2015, 17:34
Re: Leans Helicopter Camera Mode - by ZcvDev - 14.02.2015, 17:39
Re: Leans Helicopter Camera Mode - by lean1337 - 14.02.2015, 17:43
Re: Leans Helicopter Camera Mode - by Furqan - 14.02.2015, 18:22
Re: Leans Helicopter Camera Mode - by De4dpOol - 15.02.2015, 07:57
Re: Leans Helicopter Camera Mode - by lean1337 - 15.02.2015, 23:46
Re : Leans Helicopter Camera Mode - by dangerkiller - 19.02.2015, 20:54
Re: Leans Helicopter Camera Mode - by Smileys - 20.02.2015, 22:57
Re: Leans Helicopter Camera Mode - by Abagail - 20.02.2015, 23:17
Re: Leans Helicopter Camera Mode - by Elesis - 20.02.2015, 23:56
Re: Leans Helicopter Camera Mode - by Gamer_Z - 21.02.2015, 02:04
Re: Leans Helicopter Camera Mode - by lean1337 - 26.02.2015, 01:29
Re: Leans Helicopter Camera Mode - by Mark Shade - 26.02.2015, 04:15

Forum Jump:


Users browsing this thread: 9 Guest(s)