01.10.2014, 21:37
i am trying to give server sided cash to the player when he kills someone, and to the player who died. But, when i try compiling my code
i am dead tired, thus i can't figure out what is going, help pl0x
Quote:
\(2125) : error 029: invalid expression, assumed zero (2125) : warning 215: expression has no effect (2125) : error 001: expected token: ";", but found ")" (2125) : error 029: invalid expression, assumed zero (2125) : fatal error 107: too many error messages on one line |
pawn Код:
if(reason != 49 || reason != 50)
{
GivePlayerMoney(playerid, 100);
SetPVarInt(killerid, "pMoney", +=kMoney);
SetPVarInt(playerid, "pMoney", -dMoney);
ResetPlayerMoney(killerid);
ResetPlayerMoney(playerid);
GivePlayerMoney(killerid, GetPVarInt(playerid, "pMoney"));
GivePlayerMoney(playerid, GetPVarInt(playerid, "pMoney"));
spawned[playerid] = false;