[Pomoc]Eror OnPlayerRaceCheckpoint

Započeo Nikola I, Mart 04, 2011, 19:38:45 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 2 gostiju pregledaju ovu temu.

Skripta koju koristim: FactionGame edit
Detaljan opis problema:
FactionGame\gamemodes\NW.pwn(6166) : warning 235: public function lacks forward declaration (symbol "OnPlayerRaceCheckpoint")
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


1 Warning.


Dio skripte: public OnPlayerRaceCheckpoint(playerid)
Neke slike/video za lakse dobivanje pomoci(neobavezno): /
Poslednja Izmena: Mart 04, 2011, 19:41:23 POSLE PODNE od Nikola I




Nije OnPlayerRaceCheckpoint nego OnPlayerEnterRaceCheckpoint

Last nick: Paradox

FactionGame\gamemodes\NW.pwn(6167) : error 021: symbol already defined: "Streamer_OnPlayerEnterRaceCP"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


1 Error.


Sad mi izbaci ovaj eror






Par linija ispod i iznad.

Last nick: Paradox

cristiane

Dodaj ispod zadnjeg forwarda
forward OnPlayerRaceCheckpoint(playerid);
Poslednja Izmena: Mart 04, 2011, 20:18:17 POSLE PODNE od yamaha

public OnPlayerLeaveCheckpoint(playerid)
{
return 1;
}

public OnPlayerEnterRaceCheckpoint(playerid)
{
    if (!IsPlayerInAnyVehicle(playerid))
    {
        return 1;
    }


eto Paradox