29.12.2010, 07:27
I am editing Grand Larceny from 0.3c [ Latest One ]
I got this
Then I got error
Line 39 is the "public OnPlayerConnect(playerid)"
I got this
pawn Код:
public OnPlayerConnect(playerid)
{
GameTextForPlayer(playerid,"~w~Grand Larceny",3000,4);
SendClientMessage(playerid,COLOR_WHITE,"Welcome to {88AA88}G{FFFFFF}rand {88AA88}L{FFFFFF}arceny");
// class selection init vars
gPlayerCitySelection[playerid] = -1;
gPlayerHasCitySelected[playerid] = 0;
gPlayerLastCitySelectionTick[playerid] = GetTickCount();
SetPlayerColor(playerid,COLOR_NORMAL_PLAYER);
return 1;
}
Код:
C:\Users\USER\Desktop\GrandLarc\gamemodes\grandlarc.pwn(39) : error 001: expected token: ";", but found "public"