What I can do to repair this? - 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: What I can do to repair this? (
/showthread.php?tid=664486)
What I can do to repair this? -
ShaggyShaggy - 02.03.2019
(35){
(36) INI_Int("Parola",PlayerInfo[playerid][pPass]);
(37) INI_Int("Bani",PlayerInfo[playerid][pCash]);
(38) return 1;
(39)}
(35) : error 055: start of function body without function header
(36) : error 010: invalid function or declaration
(37) : error 010: invalid function or declaration
Re: What I can do to repair this? -
TheToretto - 02.03.2019
You need a function before adding braces, as the error is pretty much clear.
Код:
funcName()
{
INI_Int("Parola",PlayerInfo[playerid][pPass]);
INI_Int("Bani",PlayerInfo[playerid][pCash]);
return 1;
}