[Ajuda] Compilar
#1

Quando vou compilar apareзe esse ERROR.
Alguem me ajuda ?
eu nгo sei mecher mto com isso !


Код:
D:\Documents and Settings\shutt\Desktop\GM\gamemodes\DFS.pwn(40637) : error 021: symbol already defined: "PlayerToPoint"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
Reply
#2

@Shutt_Down
CTRL + F -> 'PlayerToPoint'

Apague de PlayerToPoint atй o Final Dele, Normalmente Apуs de Return 1; '}'
Reply
#3

Agora aparece um erro maior ! "/
Reply
#4

No inicio do GM
pawn Код:
forward PlayerToPoint(Float:radi, playerid, Float:x, Float:y, Float:z);
No final do GM

pawn Код:
public PlayerToPoint(Float:radi, playerid, Float:x, Float:y, Float:z)
{
    if(IsPlayerConnected(playerid))
    {
        new Float:oldposx, Float:oldposy, Float:oldposz;
        new Float:tempposx, Float:tempposy, Float:tempposz;
        GetPlayerPos(playerid, oldposx, oldposy, oldposz);
        tempposx = (oldposx -x);
        tempposy = (oldposy -y);
        tempposz = (oldposz -z);
        if (((tempposx < radi) && (tempposx > -radi)) && ((tempposy < radi) && (tempposy > -radi)) && ((tempposz < radi) && (tempposz > -radi)))
        {
            return 1;
        }
    }
    return 0;
}
Reply
#5

Posta a linha do erro ninguem й adivinha pra descobrir!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)