Problem with my stock code :)) - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Problem with my stock code :)) (
/showthread.php?tid=182573)
Solved -
RenisiL - 11.10.2010
Solved Problem
Re: Problem with my stock code :)) -
Bessensap - 11.10.2010
Arguments are the words between the ( ) 's and you made inn ur stock:
pawn Код:
AdminZinute( playerid, Spalva, string[] )
and in the error line u used:
pawn Код:
AdminZinute( COLOR_MELYNA, string );
So you have to make it like this (without the ***'s):
pawn Код:
AdminZinute(***playerid***, COLOR_MELYNA, string );
Or something else depending on who to send it too
Re: Problem with my stock code :)) -
RenisiL - 11.10.2010
Hm... but error
Код:
D:\Deivido\Serveriai\Stunt world-LT\gamemodes\Untitled.pwn(416) : error 029: invalid expression, assumed zero
D:\Deivido\Serveriai\Stunt world-LT\gamemodes\Untitled.pwn(416) : error 029: invalid expression, assumed zero
D:\Deivido\Serveriai\Stunt world-LT\gamemodes\Untitled.pwn(416) : warning 215: expression has no effect
D:\Deivido\Serveriai\Stunt world-LT\gamemodes\Untitled.pwn(416) : warning 215: expression has no effect
D:\Deivido\Serveriai\Stunt world-LT\gamemodes\Untitled.pwn(416) : error 001: expected token: ";", but found ")"
D:\Deivido\Serveriai\Stunt world-LT\gamemodes\Untitled.pwn(416) : fatal error 107: too many error messages on one line
Код:
AdminZinute( ***playerid***, COLOR_MELYNA, string );
Re: Problem with my stock code :)) -
Bessensap - 14.10.2010
Did i not say to leave away the *'s.....
Meaning:
pawn Код:
AdminZinute( playerid, COLOR_MELYNA, string );