expected token: ";", but found ":" !!??? - 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: ";", but found ":" !!??? (
/showthread.php?tid=444183)
expected token: ";", but found ":" !!??? -
gurmani11 - 15.06.2013
sozzy
Re: expected token: ";", but found ":" !!??? -
Macluawn - 15.06.2013
You need an extra closing bracket at the end.
That is what happens when you dont indent your code.
pawn Код:
case 11:
{
if(!PlayerExtras[playerid][EXTRA_COMMAND_NEON])
{
if(PlayerUseCookies(playerid,CookiePrices[COOKIES_COMMAND_NEON][cprPrice]))
{
PlayerExtras[playerid][EXTRA_COMMAND_NEON]=true;
SendLanguageMessage(playerid,COLOR_WHITE," Du kannst nun den Command \"/neon\" benutzen, um ein Auto zu tunen!"," Now you can use the command \"/neon\" to mod a vehicle!");
}
}
} // Here
Re: expected token: ";", but found ":" !!??? -
gurmani11 - 15.06.2013
i did it dude but it did not helped
Re: expected token: ";", but found ":" !!??? -
Macluawn - 15.06.2013
same here
pawn Код:
case 10:
{
if(PlayerUseCookies(playerid,CookiePrices[COOKIES_NICKCHANGE][cprPrice]))
{
PlayerInfo[pNameChanges][playerid] += 3;
SendLanguageMessage(playerid,COLOR_WHITE," Du kannst jetzt 3 mal mehr deinen Namen aendern."," You can change your name 3 more times.");
}
} //Here
Re: expected token: ";", but found ":" !!??? -
gurmani11 - 15.06.2013
:OOOOOOOOOOOOOO
Re: expected token: ";", but found ":" !!??? -
SMW - 15.06.2013
what is exactly line 29154 is ?
Re: expected token: ";", but found ":" !!??? -
gurmani11 - 15.06.2013
read my first post friend i gave the code
Re: expected token: ";", but found ":" !!??? -
SMW - 15.06.2013
Quote:
Originally Posted by gurmani11
read my first post friend i gave the code
|
i mean what is exactly the line, your code doesnt show the line dude..