SA-MP Forums Archive
1 Error - 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: 1 Error (/showthread.php?tid=288732)



1 Error - Ehab1911 - 08.10.2011

I am trying to create an include and I tried to use the SetPlayerPos, but this error came up:

D:\yay\testelinclude.pwn(21) : error 055: start of function body without function header

Here is the code:
pawn Код:
stock SetStreamPos(playerid, x,y,z);
{
    SetPlayerPos(playerid, x, y, z);
}



Re: 1 Error - mitosking - 08.10.2011

Toggle ";" at the end of stock.


Re: 1 Error - Jafet_Macario - 08.10.2011

pawn Код:
stock SetStreamPos(playerid, x,y,z)
{
    SetPlayerPos(playerid, x, y, z);
}
Too late cause: This forum requires that you wait 120 seconds between posts. Please try again in 86 seconds.


Re: 1 Error - Ehab1911 - 08.10.2011

Thank you Jafet !