need help with race
#10

put 2 } then you wont get all them errors

EDIT:

pawn Код:
else if(cp[playerid] == 15)
    {
    cp[playerid] = SetPlayerRaceCheckpoint(playerid, 1, -2329.8938,-1607.2220,483.5648, 0.0,0.0,0.0, 4);
    cp[playerid] = 16;
    }
    else if(cp[playerid] == 16)
    {
    DisablePlayerRaceCheckpoint(playerid);
    SendClientMessage(playerid, 0xFFFFFAA, "Tu esi nugaletojas-sveikiname!!!");
    new zaidejas1[100];
    new pname[MAX_PLAYERS];
    GetPlayerName(playerid, pname, sizeof(pname));
    format(zaidejas1, sizeof(zaidejas1), "Lenktynes baigtos! %s jas laimejo ir gavo 10000litu!", pname);
    SendClientMessageToAll(0xFFFFFAA, zaidejas1);
    GivePlayerMoney(playerid, 10000);
    for(new i=0; i<MAX_PLAYERS; i++)
    {
    if(IsPlayerConnected(i))
    {
    DisablePlayerRaceCheckpoint(i);
    }
    return 1;
        }
}
Reply


Messages In This Thread
need help with race - by karakana7 - 27.10.2010, 17:30
Re: need help with race - by karakana7 - 27.10.2010, 17:48
Re: need help with race - by MadeMan - 27.10.2010, 17:49
Re: need help with race - by karakana7 - 27.10.2010, 17:54
Re: need help with race - by MadeMan - 27.10.2010, 17:57
Re: need help with race - by karakana7 - 27.10.2010, 18:01
Re: need help with race - by MadeMan - 27.10.2010, 18:05
Re: need help with race - by karakana7 - 27.10.2010, 18:16
Re: need help with race - by karakana7 - 27.10.2010, 18:22
Re: need help with race - by »Wоllstah™« - 27.10.2010, 18:23

Forum Jump:


Users browsing this thread: 1 Guest(s)