GivePlayerMoney(playerid, PlayerInfo[playerid][pNovac]); Problem
#1

Hello all.

Before you post, learn INI and other, it is NOT about Saving/Loading.

(pNovac means pMoney)

I'm having a problem.
When the player completes a job (like going through checkpoints) it is supposed to give him $100:

Код:
PlayerInfo[playerid][pNovac] = GetPlayerMoney(playerid) + 100;
GivePlayerMoney(playerid, PlayerInfo[playerid][pNovac]);
Instead, it does this:

pNovac * 2 + 100

Could somebody help (if you understand)?

Also, when the player reconnects, it gives him the money like it's supposed to ($1100 instead of $2100)
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)