SA-MP Forums Archive
"expected token" -,-" - 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: "expected token" -,-" (/showthread.php?tid=289146)



"expected token" -,-" - Fmfan - 10.10.2011

I've searched everywhere to fix this problem but I can't get it done -,-"

pawn Код:
C:\DOCUME~1\Fmfan\Desktop\Server\GAMEMO~1\snipwork.pwn(427) : error 001: expected token: ",", but found ";"
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


1 Error.
Line 427:
pawn Код:
format(string,256,"~w~Player is in ~p~your ~w~team!~n~~p~Distance: %~w~%d m.",floatround(GetDistanceBetweenPlayers(i,playerid));
Anyone got any idea?


Re: "expected token" -,-" - Josma_cmd - 10.10.2011

pawn Код:
format(string,256,"~w~Player is in ~p~your ~w~team!~n~~p~Distance: %~w~%d m.",floatround(GetDistanceBetweenPlayers(i,playerid)));



Re: "expected token" -,-" - Fmfan - 10.10.2011

LOL! How could I miss that :O
Thanks man