Vice City: Multiplayer

Server Development => Scripting and Server Management => Topic started by: =RK=MarineForce on May 13, 2020, 01:11 AM

Title: greenscan lines not working help
Post by: =RK=MarineForce on May 13, 2020, 01:11 AM
idk how this will work.
help me please

http://wiki.thijn.ovh/index.php?search=scan&title=Special%3ASearch&go=Go

Title: Re: greenscan lines not working help
Post by: Eva on May 13, 2020, 06:37 AM
this?function onPlayerCommand(player,cmd,text)
 {
 if(cmd=="greenscan")
 {
 if ( !text ) MessagePlayer("Usage: /" + cmd + " [Player/ID]", player );
 else
 {
 local plr = FindPlayer( text );
 if ( !plr ) MessagePlayer("** [ERROR]: >> Invalid Player.", player );
 else { MessagePlayer("Green Scan Line Status: "+GetGreenScanLines( plr ),player);
 }   
 }
 }
 }
Title: Re: greenscan lines not working help
Post by: Gulk2 on May 13, 2020, 10:17 PM
Try to use the forum search function anymore,

function onPlayerRequestClass( player, classID, team, skin )
{
switch( skin )
    {
    case 1:
    {
SetCinematicBorder( player, true );
SetGreenScanLines( player, true );
SetSpawnPlayerPos( -971.0, 280.0, -100.0 );
player.SetCameraPos(Vector(-971.0, 280.0, 40.0),Vector(-1067.0, 320.0, 10.0));
player.PlaySound(361);
player.PlaySound(363);
Announce( "ROBBER", player, 0 );
    }
    break;
    case 2:
    {
SetCinematicBorder( player, true );
SetGreenScanLines( player, true );
SetSpawnPlayerPos( -1421.0, -760.0, -100.0 );
player.SetCameraPos(Vector(-1421.0, -760.0, 40.0),Vector(-1435.0, -833.0, 14.0));
player.PlaySound(361);
player.PlaySound(363);
 Announce( "MEXICAN", player, 0 );
    }
    break;
    case 3:
    {
SetCinematicBorder( player, true );
SetGreenScanLines( player, true );
SetSpawnPlayerPos( -690.0, -1360.0, -100.0 );
player.SetCameraPos(Vector(-690.0, -1360.0, 11.0),Vector(-680.0, -1250.0, 35.0));
player.PlaySound(361);
player.PlaySound(363);
Announce( "SAILOR", player, 0 );
    }
    break;
    case 4:
    {
SetCinematicBorder( player, true );
SetGreenScanLines( player, true );
SetSpawnPlayerPos( 409.0, 656.0, -100.0 );
player.SetCameraPos(Vector(409.0, 656.0, 40.0),Vector(428.0, 608.0, 17.0));
player.PlaySound(361);
player.PlaySound(363);
Announce( "VC CRUSADER", player, 0 );
    }
    break;
    case 5:
    {
SetCinematicBorder( player, true );
SetGreenScanLines( player, true );
SetSpawnPlayerPos( 34.5, -1178.5, -100.0 );
player.SetCameraPos(Vector(34.5, -1178.5, 20.0),Vector(7.0, -1211.0, 9.4));
player.PlaySound(361);
player.PlaySound(363);
Announce( "SECRET SERVICE", player, 0 );
    }
 break;
    case 6:
    {
SetCinematicBorder( player, true );
SetGreenScanLines( player, true );
SetSpawnPlayerPos( 474.4, -1717.5, 56.2 );
player.SetCameraPos(Vector(474.4, -1717.5, 70.0),Vector(173.0, -1454.0, 26.0));
player.PlaySound(361);
player.PlaySound(363);
Announce( "SPECTATOR", player, 0 );
    }
 break;
    case 7:
    {
SetCinematicBorder( player, true );
SetGreenScanLines( player, true );
SetSpawnPlayerPos( -836.0, -638.0, -100.0 );
player.SetCameraPos(Vector(-836.0, -638.0, 15.0),Vector(-866.0, -679.0, 1.0));
player.PlaySound(361);
player.PlaySound(363);
Announce( "COP", player, 0 );
    }
 }
}
Title: Re: greenscan lines not working help
Post by: =RK=MarineForce on May 15, 2020, 05:05 AM
thanks helpful :)
Title: Re: greenscan lines not working help
Post by: umar4911 on May 15, 2020, 08:26 AM
Quote from: Gulk2 on May 13, 2020, 10:17 PMTry to use the forum search function anymore,

function onPlayerRequestClass( player, classID, team, skin )
{
switch( skin )
    {
    case 1:
    {
SetCinematicBorder( player, true );
SetGreenScanLines( player, true );
SetSpawnPlayerPos( -971.0, 280.0, -100.0 );
player.SetCameraPos(Vector(-971.0, 280.0, 40.0),Vector(-1067.0, 320.0, 10.0));
player.PlaySound(361);
player.PlaySound(363);
Announce( "ROBBER", player, 0 );
    }
    break;
    case 2:
    {
SetCinematicBorder( player, true );
SetGreenScanLines( player, true );
SetSpawnPlayerPos( -1421.0, -760.0, -100.0 );
player.SetCameraPos(Vector(-1421.0, -760.0, 40.0),Vector(-1435.0, -833.0, 14.0));
player.PlaySound(361);
player.PlaySound(363);
 Announce( "MEXICAN", player, 0 );
    }
    break;
    case 3:
    {
SetCinematicBorder( player, true );
SetGreenScanLines( player, true );
SetSpawnPlayerPos( -690.0, -1360.0, -100.0 );
player.SetCameraPos(Vector(-690.0, -1360.0, 11.0),Vector(-680.0, -1250.0, 35.0));
player.PlaySound(361);
player.PlaySound(363);
Announce( "SAILOR", player, 0 );
    }
    break;
    case 4:
    {
SetCinematicBorder( player, true );
SetGreenScanLines( player, true );
SetSpawnPlayerPos( 409.0, 656.0, -100.0 );
player.SetCameraPos(Vector(409.0, 656.0, 40.0),Vector(428.0, 608.0, 17.0));
player.PlaySound(361);
player.PlaySound(363);
Announce( "VC CRUSADER", player, 0 );
    }
    break;
    case 5:
    {
SetCinematicBorder( player, true );
SetGreenScanLines( player, true );
SetSpawnPlayerPos( 34.5, -1178.5, -100.0 );
player.SetCameraPos(Vector(34.5, -1178.5, 20.0),Vector(7.0, -1211.0, 9.4));
player.PlaySound(361);
player.PlaySound(363);
Announce( "SECRET SERVICE", player, 0 );
    }
 break;
    case 6:
    {
SetCinematicBorder( player, true );
SetGreenScanLines( player, true );
SetSpawnPlayerPos( 474.4, -1717.5, 56.2 );
player.SetCameraPos(Vector(474.4, -1717.5, 70.0),Vector(173.0, -1454.0, 26.0));
player.PlaySound(361);
player.PlaySound(363);
Announce( "SPECTATOR", player, 0 );
    }
 break;
    case 7:
    {
SetCinematicBorder( player, true );
SetGreenScanLines( player, true );
SetSpawnPlayerPos( -836.0, -638.0, -100.0 );
player.SetCameraPos(Vector(-836.0, -638.0, 15.0),Vector(-866.0, -679.0, 1.0));
player.PlaySound(361);
player.PlaySound(363);
Announce( "COP", player, 0 );
    }
 }
}
You are repeating the 4 lines again and again.
SetCinematicBorder( player, true );
SetGreenScanLines( player, true );
SetSpawnPlayerPos( -971.0, 280.0, -100.0 );

player.PlaySound(361);
player.PlaySound(363);
Instead of repeating, why not using it once?
Title: Re: greenscan lines not working help
Post by: Gulk2 on May 16, 2020, 02:04 AM
Quote from: umar4911 on May 15, 2020, 08:26 AM
Quote from: Gulk2 on May 13, 2020, 10:17 PMTry to use the forum search function anymore,

function onPlayerRequestClass( player, classID, team, skin )
{
switch( skin )
    {
    case 1:
    {
SetCinematicBorder( player, true );
SetGreenScanLines( player, true );
SetSpawnPlayerPos( -971.0, 280.0, -100.0 );
player.SetCameraPos(Vector(-971.0, 280.0, 40.0),Vector(-1067.0, 320.0, 10.0));
player.PlaySound(361);
player.PlaySound(363);
Announce( "ROBBER", player, 0 );
    }
    break;
    case 2:
    {
SetCinematicBorder( player, true );
SetGreenScanLines( player, true );
SetSpawnPlayerPos( -1421.0, -760.0, -100.0 );
player.SetCameraPos(Vector(-1421.0, -760.0, 40.0),Vector(-1435.0, -833.0, 14.0));
player.PlaySound(361);
player.PlaySound(363);
 Announce( "MEXICAN", player, 0 );
    }
    break;
    case 3:
    {
SetCinematicBorder( player, true );
SetGreenScanLines( player, true );
SetSpawnPlayerPos( -690.0, -1360.0, -100.0 );
player.SetCameraPos(Vector(-690.0, -1360.0, 11.0),Vector(-680.0, -1250.0, 35.0));
player.PlaySound(361);
player.PlaySound(363);
Announce( "SAILOR", player, 0 );
    }
    break;
    case 4:
    {
SetCinematicBorder( player, true );
SetGreenScanLines( player, true );
SetSpawnPlayerPos( 409.0, 656.0, -100.0 );
player.SetCameraPos(Vector(409.0, 656.0, 40.0),Vector(428.0, 608.0, 17.0));
player.PlaySound(361);
player.PlaySound(363);
Announce( "VC CRUSADER", player, 0 );
    }
    break;
    case 5:
    {
SetCinematicBorder( player, true );
SetGreenScanLines( player, true );
SetSpawnPlayerPos( 34.5, -1178.5, -100.0 );
player.SetCameraPos(Vector(34.5, -1178.5, 20.0),Vector(7.0, -1211.0, 9.4));
player.PlaySound(361);
player.PlaySound(363);
Announce( "SECRET SERVICE", player, 0 );
    }
 break;
    case 6:
    {
SetCinematicBorder( player, true );
SetGreenScanLines( player, true );
SetSpawnPlayerPos( 474.4, -1717.5, 56.2 );
player.SetCameraPos(Vector(474.4, -1717.5, 70.0),Vector(173.0, -1454.0, 26.0));
player.PlaySound(361);
player.PlaySound(363);
Announce( "SPECTATOR", player, 0 );
    }
 break;
    case 7:
    {
SetCinematicBorder( player, true );
SetGreenScanLines( player, true );
SetSpawnPlayerPos( -836.0, -638.0, -100.0 );
player.SetCameraPos(Vector(-836.0, -638.0, 15.0),Vector(-866.0, -679.0, 1.0));
player.PlaySound(361);
player.PlaySound(363);
Announce( "COP", player, 0 );
    }
 }
}
You are repeating the 4 lines again and again.
SetCinematicBorder( player, true );
SetGreenScanLines( player, true );
SetSpawnPlayerPos( -971.0, 280.0, -100.0 );

player.PlaySound(361);
player.PlaySound(363);
Instead of repeating, why not using it once?
this is old and i got it from a forum search
Title: Re: greenscan lines not working help
Post by: SonmezTR on Jul 10, 2020, 12:17 PM
What is SetGreenScanLines please someone explain guys. :s
Title: Re: greenscan lines not working help
Post by: Eva on Jul 10, 2020, 01:08 PM
Quote from: SonmezTR on Jul 10, 2020, 12:17 PMWhat is SetGreenScanLines please someone explain guys. :s
Join =ULK=MTA server and check the spawnscreens
Title: Re: greenscan lines not working help
Post by: Sonmez on Jul 12, 2020, 01:40 PM
Quote from: SonmezTR on Jul 10, 2020, 12:17 PMWhat is SetGreenScanLines please someone explain guys. :s
Who the f**is this guy?
Title: Re: greenscan lines not working help
Post by: Alpays on Jul 12, 2020, 04:32 PM
Quote from: Sonmez on Jul 12, 2020, 01:40 PM
Quote from: SonmezTR on Jul 10, 2020, 12:17 PMWhat is SetGreenScanLines please someone explain guys. :s
Who the f**is this guy?

you
Title: Re: greenscan lines not working help
Post by: KrOoB_ on Jul 12, 2020, 10:42 PM
Quote from: Alpays on Jul 12, 2020, 04:32 PM
Quote from: Sonmez on Jul 12, 2020, 01:40 PM
Quote from: SonmezTR on Jul 10, 2020, 12:17 PMWhat is SetGreenScanLines please someone explain guys. :s
Who the f**is this guy?

you
mind f--k
Title: Re: greenscan lines not working help
Post by: NicusorN5 on Jul 13, 2020, 03:43 PM
Quote from: KrooB on Jul 12, 2020, 10:42 PM
Quote from: Alpays on Jul 12, 2020, 04:32 PM
Quote from: Sonmez on Jul 12, 2020, 01:40 PM
Quote from: SonmezTR on Jul 10, 2020, 12:17 PMWhat is SetGreenScanLines please someone explain guys. :s
Who the f**is this guy?

you
mind f--k
We just destroyed some parallel universes with this discovery!
Title: Re: greenscan lines not working help
Post by: KrOoB_ on Jul 13, 2020, 07:53 PM
and this is proof of that @Athanatos
(https://i.imgur.com/w4Ykvid.png)
Title: Re: greenscan lines not working help
Post by: NicusorN5 on Jul 13, 2020, 08:29 PM
Perfect! We also seem to also mess up with the state of some quantum superpositions of some electrons and photons( light ) that messed up your screen :D

Quantum immortality go brrr

Edit: also quantum entaglement