expected token: ";", but found "stock"
#7

Quote:
Originally Posted by Bakr
Посмотреть сообщение
The error (missing a semi-colon) is on a line or two before that of which the compiler is giving you.
Yup, that worked. How didn't I notice that :3


I needed to do this:


Код:
forward StopAlarm(vehicleid); // add this

stock PlayerName(playerid)
{
    new name[MAX_PLAYER_NAME];
    GetPlayerName(playerid, name, sizeof(name));
    return name;
}
+1, Solved
Reply


Messages In This Thread
expected token: ";", but found "stock" - by Freemuffins - 25.11.2012, 02:59
Re: expected token: ";", but found "stock" - by Glad2BeHere - 25.11.2012, 03:07
Re: expected token: ";", but found "stock" - by Freemuffins - 25.11.2012, 03:09
Re: expected token: ";", but found "stock" - by yaron0600 - 25.11.2012, 03:14
Re: expected token: ";", but found "stock" - by Freemuffins - 25.11.2012, 03:16
Re: expected token: ";", but found "stock" - by Bakr - 25.11.2012, 03:20
Re: expected token: ";", but found "stock" - by Freemuffins - 25.11.2012, 03:21
Re: expected token: ";", but found "stock" - by Glad2BeHere - 25.11.2012, 03:28
Re: expected token: ";", but found "stock" - by Bakr - 25.11.2012, 03:34

Forum Jump:


Users browsing this thread: 3 Guest(s)