[Snippet] Adding Player EXP

Page 5 of 5 FirstFirst 12345
Results 61 to 70 of 70
  1. #61
    Novice inamefrong is offline
    MemberRank
    Jul 2014 Join Date
    2Posts

    Re: [Snippet] Adding Player EXP

    i want picture preview
    Screenshot by Lightshot <<< Using this?
    Kill player

  2. #62
    Member Thiago Costa is offline
    MemberRank
    Sep 2013 Join Date
    51Posts

    Re: [Snippet] Adding Player EXP

    Anyone know how adding player money ?

  3. #63
    Harro Syxn is offline
    MemberRank
    Mar 2013 Join Date
    767Posts

    Re: [Snippet] Adding Player EXP

    Quote Originally Posted by Thiago Costa View Post
    Anyone know how adding player money ?
    Change this the 0's are money

    SetReward(3, "PlayerKill", 0, 15, 0, 15);

  4. #64
    Member Thiago Costa is offline
    MemberRank
    Sep 2013 Join Date
    51Posts

    Re: [Snippet] Adding Player EXP

    Quote Originally Posted by Syxn View Post
    Change this the 0's are money

    SetReward(3, "PlayerKill", 0, 15, 0, 15);
    More will appear the message to kill the player?

  5. #65
    Harro Syxn is offline
    MemberRank
    Mar 2013 Join Date
    767Posts

    Re: [Snippet] Adding Player EXP

    To have it popup like xp does look for this

    if(n.XP > 0)
    {
    char tmpStr[64];
    sprintf(tmpStr, gLangMngr.getString("InfoMsg_XPAdded"), n.XP);
    hudMain->showMessage(tmpStr);
    }

    and paste this above or below it.

    if(n.GD > 0)
    {
    char tmpStr[64];
    sprintf(tmpStr, gLangMngr.getString("InfoMsg_DollarsPickedUp"), n.GD);
    hudMain->showMessage(tmpStr);
    }

  6. #66
    Member Thiago Costa is offline
    MemberRank
    Sep 2013 Join Date
    51Posts

    Re: [Snippet] Adding Player EXP

    Quote Originally Posted by Syxn View Post
    To have it popup like xp does look for this

    if(n.XP > 0)
    {
    char tmpStr[64];
    sprintf(tmpStr, gLangMngr.getString("InfoMsg_XPAdded"), n.XP);
    hudMain->showMessage(tmpStr);
    }

    and paste this above or below it.

    if(n.GD > 0)
    {
    char tmpStr[64];
    sprintf(tmpStr, gLangMngr.getString("InfoMsg_DollarsPickedUp"), n.GD);
    hudMain->showMessage(tmpStr);
    }
    I use the src thv2, I'm not finding these codes.

  7. #67
    Harro Syxn is offline
    MemberRank
    Mar 2013 Join Date
    767Posts

    Re: [Snippet] Adding Player EXP

    Its on WarZ.sln (client side)

    and if you still don't find it look for gLangMngr.getString("InfoMsg_XPAdded and then copy the code it has like i did above.

  8. #68
    Member Thiago Costa is offline
    MemberRank
    Sep 2013 Join Date
    51Posts

    Re: [Snippet] Adding Player EXP

    Quote Originally Posted by Syxn View Post
    Its on WarZ.sln (client side)

    and if you still don't find it look for gLangMngr.getString("InfoMsg_XPAdded and then copy the code it has like i did above.

    It worked.


    Now I have another problem, the letters are coming one on top of another. Is to solve?

    THX LIKE !

  9. #69
    Member Thiago Costa is offline
    MemberRank
    Sep 2013 Join Date
    51Posts

    Re: [Snippet] Adding Player EXP

    Quote Originally Posted by Syxn View Post
    To have it popup like xp does look for this

    if(n.XP > 0)
    {
    char tmpStr[64];
    sprintf(tmpStr, gLangMngr.getString("InfoMsg_XPAdded"), n.XP);
    hudMain->showMessage(tmpStr);
    }

    and paste this above or below it.

    if(n.GD > 0)
    {
    char tmpStr[64];
    sprintf(tmpStr, gLangMngr.getString("InfoMsg_DollarsPickedUp"), n.GD);
    hudMain->showMessage(tmpStr);
    }
    Of to do it with players?
    Ex: I kill a player and appears on the screen for all to see.
    I know I have the killfeed, the more it shows in the chat. I wanted to show CS type.

    SOURCE V2/V3

  10. #70
    Enthusiast DevSirinov is offline
    MemberRank
    Dec 2014 Join Date
    37Posts

    Re: [Snippet] Adding Player EXP

    Quote Originally Posted by Syxn View Post
    To have it popup like xp does look for this

    if(n.XP > 0)
    {
    char tmpStr[64];
    sprintf(tmpStr, gLangMngr.getString("InfoMsg_XPAdded"), n.XP);
    hudMain->showMessage(tmpStr);
    }

    and paste this above or below it.

    if(n.GD > 0)
    {
    char tmpStr[64];
    sprintf(tmpStr, gLangMngr.getString("InfoMsg_DollarsPickedUp"), n.GD);
    hudMain->showMessage(tmpStr);
    }
    now working ; can`t adding dollars



Page 5 of 5 FirstFirst 12345

Advertisement