Jump to content

GEORGE FLOROS GR

Member
  • Content Count

    4230
  • Joined

  • Last visited

  • Medals

Community Reputation

4206 Excellent

About GEORGE FLOROS GR

  • Rank
    Second Lieutenant

Profile Information

  • Gender
    Male
  • Location
    Greece / BI Forum Ravage Club Owner

Recent Profile Visitors

30861 profile views

Single Status Update

See all updates by GEORGE FLOROS GR

  1. Hello,

     

    I need your help, if you have some time for me.

     

    You make a rank script and i would like to add skills by rank. So when a player got a rank he had setUnitRecoilCoefficient and setCustomAimCoef decrease. I do something like this :

     

             _player = ["GF_Rank_PRIVATE"];
            {
        
        if (true) then {player setCustomAimCoef 0.95 && player setUnitRecoilCoefficient 0.95};
        ['Felicitations! Vous avez ete promu soldat de 1Classe!',0,0.6,2,1] spawn bis_fnc_dynamictext;        
        uisleep 10;
        ['Votre recul d arme et votre visee ont ete ameliores de 5% .',0,0.6,2,1] spawn bis_fnc_dynamictext;                
         uisleep 10;
            } forEach player;

        
        _player = ["GF_Rank_CORPORAL"];
            {
        if (true) then {player setCustomAimCoef 0.90 && player setUnitRecoilCoefficient 0.90};
        ['Felicitations! Vous avez ete promu Caporal',0,0.6,2,1] spawn bis_fnc_dynamictext;        
        uisleep 10;
        ['Votre recul d arme et votre visee ont ete ameliores de 5% .',0,0.6,2,1] spawn bis_fnc_dynamictext;                
         uisleep 10;
            } forEach player;

     

    It is working but never stop. I have the message, but the message for the next level too. Where am i wrong?

     

    Can you help me please, as i am not a coder.

     

    Regards,

     

    Tiger.

    1. Show previous comments  6 more
    2. GEORGE FLOROS GR

      GEORGE FLOROS GR

      it just need to give a variable in order to make the code run once.

      I just need some time in order to check this and not make any mistake.

      by the way you should post your questions in the topic above ( compilation topic ) in order everyone to get benefit from.

      Thanks Tiger !

    3. Tiger51

      Tiger51

      Yes, for sure. But, i find a solution with help of one of my friend, solutiuon is done, and next time, i will post in the public forum.

       

      Thanks.

       

    4. GEORGE FLOROS GR

      GEORGE FLOROS GR

      No problem , nice , but still it's good to post the solution for everyone.

      Thanks also !

×