SA-MP Forums Archive
Weird Problem. Help Please! - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Weird Problem. Help Please! (/showthread.php?tid=204249)



Weird Problem. Help Please! - Falcon Interceptor - 29.12.2010

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)"


Re: Weird Problem. Help Please! - Falcon Interceptor - 29.12.2010

PROBLEM SOVLED!

Topic may be locked now