27.11.2011, 09:08
Im trying to make a stock to give playerscore (just to make it faster to script) but i can only setplayerscore how can i do giveplayerscore here is what i tried.
Код:
SetPlayerScore(GetPlayerScore(playerid)+=10);
Код:
C:\Users\GTA ONLY\My Samp Server\gamemodes\MySQL.pwn(363) : error 022: must be lvalue (non-constant) C:\Users\GTA ONLY\My Samp Server\gamemodes\MySQL.pwn(363) : warning 215: expression has no effect C:\Users\GTA ONLY\My Samp Server\gamemodes\MySQL.pwn(363) : error 001: expected token: ";", but found ")" C:\Users\GTA ONLY\My Samp Server\gamemodes\MySQL.pwn(363) : error 029: invalid expression, assumed zero C:\Users\GTA ONLY\My Samp Server\gamemodes\MySQL.pwn(363) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors.