What is That problem ??

Started by ahmedzead, Aug 04, 2018, 06:58 PM

Previous topic - Next topic

ahmedzead


Magneto

Quote from: ahmedzead on Aug 04, 2018, 06:58 PMwhat is the meaning of this
https://imgur.com/a/Ck88fLz
That means there is a error in main.nut line 40.

.

Quote from: ahmedzead on Aug 04, 2018, 06:58 PMwhat is the meaning of this

Indeed. I would like to ask you the same question. What is the meaning of this?
.

ahmedzead

This is the function that have the problem

function onPickupPickedUp
{
 if ( pickup.Model == 375 )
      {
 if ( player.WantedLevel > 1 )
{
player.Skin = 2;
player.Colour = RGB( 51, 51, 255 );
player.SetWeapon( 19, 70 );
player.SetWeapon( 25, 150 );
player.SetWeapon( 26, 150 );
}
else MessagePlayer(" You need to clean ur wanted level to join cop duty ", player);  // updated  there can be bug in new update i untested it so u can remove that if its called bug
}
}

!

Quote from: ahmedzead on Aug 05, 2018, 07:22 AMThis is the function that have the problem

function onPickupPickedUp
{
 if ( pickup.Model == 375 )
      {
 if ( player.WantedLevel > 1 )
{
player.Skin = 2;
player.Colour = RGB( 51, 51, 255 );
player.SetWeapon( 19, 70 );
player.SetWeapon( 25, 150 );
player.SetWeapon( 26, 150 );
}
else MessagePlayer(" You need to clean ur wanted level to join cop duty ", player);  // updated  there can be bug in new update i untested it so u can remove that if its called bug
}
}
function onPickupPickedUp
{
 if ( pickup.Model == 375 )
      {
 if ( player.WantedLevel < 1 )
{
player.Skin = 2;
player.Colour = RGB( 51, 51, 255 );
player.SetWeapon( 19, 70 );
player.SetWeapon( 25, 150 );
player.SetWeapon( 26, 150 );
}
else MessagePlayer(" You need to clean ur wanted level to join cop duty ", player);  // updated  there can be bug in new update i untested it so u can remove that if its called bug
}
}
Stick to play

Discord: zeus#5155

MatheuS

function onPickupPickedUp( player, pickup )
{
      if ( pickup.Model == 375 )
      {
             if ( player.WantedLevel < 1 )
             {
                   player.Skin = 2;
                   player.Colour = RGB( 51, 51, 255 );
                   player.SetWeapon( 19, 70 );
                   player.SetWeapon( 25, 150 );
                   player.SetWeapon( 26, 150 );
             }
             else MessagePlayer(" You need to clean ur wanted level to join cop duty ", player);  // updated  there can be bug in new update i untested it so u can remove that if its called bug
      }
}
if( !sucess ) tryAgain();
Thanks to the VCMP community. It was the happiest period of my life.