Help - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Help (
/showthread.php?tid=564250)
Help -
BlackEvils - 20.02.2015
how i can use this code?
PlayerInfo[killerid][Coins]+20;
C:\Users\DAVIDE\Desktop\Iss v 1.0\gamemodes\dm.pwn(267) : warning 215: expression has no effect
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
1 Warning.
Re: Help -
CalvinC - 20.02.2015
pawn Код:
PlayerInfo[killerid][Coins] += 20;
Always use "=" when
setting it to a value, in this case, use "+=" to
add to the value.
Re: Help -
BlackEvils - 20.02.2015
thx you resove