Weird Problem. Help Please!
#1

I am editing Grand Larceny from 0.3c [ Latest One ]

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;
}
Then I got error

Код:
C:\Users\USER\Desktop\GrandLarc\gamemodes\grandlarc.pwn(39) : error 001: expected token: ";", but found "public"
Line 39 is the "public OnPlayerConnect(playerid)"
Reply
#2

PROBLEM SOVLED!

Topic may be locked now
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)