error 001: expected token: ";", but found
#1

Код:
C:\Users\Antonio\Desktop\SAMP\gamemodes\gmbeta.pwn(101) : error 001: expected token: ";", but found "forward"



Код:
forward LoadUser_data(playerid,name[],value[]); //101 line
public LoadUser_data(playerid,name[],value[])
{
    INI_Int("Password",PlayerInfo[playerid][pPass]);
    INI_Int("Cash",PlayerInfo[playerid][pCash]);
    INI_Int("Admin",PlayerInfo[playerid][pAdmin]);
    INI_Int("VIP",PlayerInfo[playerid][pVIP]);
    INI_Int("Kills",PlayerInfo[playerid][pKills]);
    INI_Int("Deaths",PlayerInfo[playerid][pDeaths]);
    return 1;
}
Where is problem?
Reply
#2

Right above the forward you might have forgotten the ;
Reply
#3

where can copy all this and fix?
Reply
#4

Quote:
Originally Posted by trolltomax
Посмотреть сообщение
where can copy all this and fix?
Goldilox is correct, right above the forward, look at whatever is there, it is supposed to end in a semicolon ";", this is a common mistake.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)