Results 1 to 3 of 3
  1. #1
    Matrix1101's Avatar
    Join Date
    Oct 2015
    Gender
    male
    Posts
    169
    Reputation
    10
    Thanks
    172

    [Fabiano] How to make skins cost fame

    I was just wondering how one would go about making skins from the character selection screen and the Armoire cost fame instead of gold? I figure it would require a bit of client work...

    Thanks,

  2. #2
    Riigged's Avatar
    Join Date
    Jan 2013
    Gender
    male
    Location
    no
    Posts
    3,846
    Reputation
    401
    Thanks
    10,254
    My Mood
    Devilish
    Quote Originally Posted by Matrix1101 View Post
    I was just wondering how one would go about making skins from the character selection screen and the Armoire cost fame instead of gold? I figure it would require a bit of client work...

    Thanks,
    Server side would be changing the price, the client side would just be changing the icon and changing the name of gold to fame because there is client side code saying something like

    if(gold < skinprice) { return false; send a message w/e }

    so you would just change gold to the fame name whatever it is, but the actual price/deduction should be handled server sided

     








  3. #3
    Matrix1101's Avatar
    Join Date
    Oct 2015
    Gender
    male
    Posts
    169
    Reputation
    10
    Thanks
    172
    Quote Originally Posted by Riigged View Post
    Server side would be changing the price, the client side would just be changing the icon and changing the name of gold to fame because there is client side code saying something like

    if(gold < skinprice) { return false; send a message w/e }

    so you would just change gold to the fame name whatever it is, but the actual price/deduction should be handled server sided
    Ok, for the server side I went to purchaseSkin.cs and in line 72, changed UpdateCredit to UpdateFame, which should be it for server side. But When I try to purchase a skin, since making the change, it just sends an error saying I don't have enough gold. Even though I have enough to buy it with either fame or gold.

Similar Threads

  1. [Help] How to make skins into 1 pack?
    By dnbkid in forum CrossFire Mods & Rez Modding
    Replies: 12
    Last Post: 04-12-2012, 11:17 AM
  2. [Solved] Can someone do a tutorial on how to make skins?
    By ttdpmg in forum Call of Duty Modern Warfare Help
    Replies: 6
    Last Post: 06-13-2011, 04:07 PM
  3. [Tutorial] How to make skins
    By GBot! in forum CounterStrike (CS) 1.6 Hacks / Counter Strike: Source (CSS) Hacks
    Replies: 12
    Last Post: 01-09-2011, 08:01 AM
  4. How to make skins in CoD:MW2 tutorial on PC
    By ChrisOoO in forum Call of Duty Modern Warfare 2 Discussions
    Replies: 8
    Last Post: 05-08-2010, 02:34 AM
  5. (TUT) How to make skin!
    By 0wna in forum WarRock - International Hacks
    Replies: 7
    Last Post: 03-09-2009, 04:05 PM