[ajuda] nao compila
#5

analisei seu cod n era para dar erro no pawno , mas msm assim arrumei ele
topo do gm
pawn Код:
new PlayerInfo[MAX_PLAYERS];
new Pcorrida;
forward Pcorrida1();

pawn Код:
public OnGameModeInit()
{
    Pcorrida = CreateObject(980, 1868.310913, -2493.508545, 20.882156, 0.000000, 0.000000, 88.000000);
    return 1;
}
pawn Код:
public Pcorrida1()
{
    MoveObject(Pcorrida,1868.310913, -2493.508545, 20.882156, 3);
    return 1;
}
pawn Код:
if(strcmp(cmdtext, "/pcorrida", true) == 0)
{
    if(PlayerInfo[playerid][pAdmin] > 1 || PlayerToPoint(30.0, playerid, 1868.310913, -2493.508545, 20.882156)) {
        MoveObject( Pcorrida,1868.356323, -2493.523438, 15.328079,3);
        GetPlayerName(playerid, sendername, sizeof(sendername));
        new string [256];
        format(string, sizeof(string), "* %s Abriu Este Portao!", sendername);
        ProxDetector(4.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
        GameTextForPlayer(playerid, "~g~Aberto", 5000, 3);
        SetTimer("Pcorrida1", 5000, false);
    }
    else {
        SendClientMessage(playerid, COLOR_RED, "*** Voce nao esta perto do portao ou nao e ADM***");
    }
    return 1;
}
Reply


Messages In This Thread
[ajuda] nao compila - by Xapita_Halls - 21.12.2010, 19:32
Re: [ajuda] nao compila - by -GooGle- - 21.12.2010, 19:34
AW: [ajuda] nao compila - by Xapita_Halls - 21.12.2010, 19:37
AW:RESOLVIDO [NAO COMPILA - by Xapita_Halls - 21.12.2010, 20:14
Re: [ajuda] nao compila - by -GooGle- - 21.12.2010, 20:24
Re: [ajuda] nao compila - by rjjj - 21.12.2010, 20:44

Forum Jump:


Users browsing this thread: 3 Guest(s)