1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Hey Guest, is it this your first time on the forums?

    Visit the Beginner's Box

    Introduce yourself, read some of the ins and outs of the community, access to useful links and information.

    Dismiss Notice

Coins ok in SP,not good in MP

Discussion in 'Modding Help' started by Tsilliev, Aug 30, 2013.

  1. Tsilliev

    Tsilliev Haxor

    Messages:
    414
    So at solo, sandbox I made it so that logs,stone/gold ore drop coins with this simple code.
    Code:
    Vec2f pos = hitBlob.getPosition();
    server_DropCoins( pos, 1 );
    
    Some pics
    The problem as you can see on the other map is that when I created a server and joined my server, I couldn't pick the coins when I walk near them.
    Any ideas?
     
  2. Tsilliev

    Tsilliev Haxor

    Messages:
    414
    I have also tried to add
    Code:
    void.... (CBlob@..... CPlayer@ killer)
    killer.server_setCoins( killer.getCoins() + 2);
    But it crashes with setCoins

    PS: My post didn't merge as usual can a mod fix this,no warnings please :D