Problem with a command :( - 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: Problem with a command :( (
/showthread.php?tid=462525)
Problem with a command :( -
Kapone21 - 07.09.2013
Here we go..
i can use NumeDetectiv at something liek that
[code]
format(string, sizeof(string), "{FFFFFF}(( {33CCFF} %s te-a angajat ca detectiv pentru suma de %d {FFFFFF}))",sendername,PretDetectiv[playerid]);
SendClientMessage(NumeDetectiv[playerid], COLOR_WHITE, string);
[code]
but here no :@
Код:
PlayerInfo[NumeDetectiv[playerid]][pPayDaySalariu]; += PretDetectiv[playerid]);
saying expression no effect whyy
( please help
Re: Problem with a command :( -
Konstantinos - 07.09.2013
I assume you want to do something like that:
pawn Код:
PlayerInfo[NumeDetectiv[playerid]][pPayDaySalariu] += PretDetectiv[playerid];
Re: Problem with a command :( -
Kapone21 - 07.09.2013
C:\Documents and Settings\Gerrax\My Documents\Gerrax\gamemodes\gamemode.pwn(51525) : warning 215: expression has no effect
C:\Documents and Settings\Gerrax\My Documents\Gerrax\gamemodes\gamemode.pwn(51525) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Gerrax\My Documents\Gerrax\gamemodes\gamemode.pwn(51525) : warning 215: expression has no effect
C:\Documents and Settings\Gerrax\My Documents\Gerrax\gamemodes\gamemode.pwn(51525) : error 001: expected token: ";", but found ")"
C:\Documents and Settings\Gerrax\My Documents\Gerrax\gamemodes\gamemode.pwn(51525) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Gerrax\My Documents\Gerrax\gamemodes\gamemode.pwn(51525) : fatal error 107: too many error messages on one line
Re: Problem with a command :( -
Konstantinos - 07.09.2013
Show us the the line above it and the line 51525.
Re: Problem with a command :( -
Kapone21 - 07.09.2013
done i fix him