[RESOLVIDO] Portгo Nгo Fexa Sozinho
#4

Quote:
Originally Posted by Lipepva
Vocк criou a public PortaoBallas ?

Se nгo criou coloque

pawn Код:
public PortaoBallas()
{
MoveObject(PortalBallas,X,Y,Z,Velocidade);//X,Y,Z Cordenadas do portao fechado
return 1;
}
Eu Coloquei a Public portaopc 'que era a que eu queria ' Mas Ai Deu Esses Erros Ao Compilar

pawn Код:
new portaopc;

pawn Код:
if(strcmp(cmd, "/ppc", true) == 0)
    {
    if ((IsACop(playerid)) && PlayerToPoint(15.0, playerid, 938.9279,-1005.4316,34.6513)) { //Em Frente do Portao
    MoveObject( portaopc, 931.888671875, -1014.7592773438, 34.718353271484,3);
    GetPlayerName(playerid, sendername, sizeof(sendername));
    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("portaopc", 5000, false);
    } else {
    //SendClientMessage(playerid, COLOR_RED, "*** Voce nao esta perto do portao ou nao e PM ***");
    }
    return 1;
    }

pawn Код:
public portaopc()
{
  MoveObject(portaopc,931.888671875, -1014.7592773438, 34.718353271484, 2);//X,Y,Z Cordenadas do portao fechado
  return 1;
}
Deu Esses Erros \/

pawn Код:
D:\GM\G3\TENTAN~1\2B00~1\bmc.pwn(44044) : error 021: symbol already defined: "portaopc"
D:\GM\G3\TENTAN~1\2B00~1\bmc.pwn(44047) : error 010: invalid function or declaration
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


2 Errors.
Ajuda aee
Reply


Messages In This Thread
[RESOLVIDO] Portгo Nгo Fexa Sozinho - by Peedro_Felix - 15.05.2010, 23:29
Re: [DUV] Portгo Nгo Fexa Sozinho - by Lipepva - 15.05.2010, 23:44
Re: [DUV] Portгo Nгo Fexa Sozinho - by Ricardo_Saddler - 16.05.2010, 00:01
Re: [DUV] Portгo Nгo Fexa Sozinho - by Peedro_Felix - 16.05.2010, 00:17
Re: [DUV] Portгo Nгo Fexa Sozinho - by pawNO - 16.05.2010, 00:19
Re: [DUV] Portгo Nгo Fexa Sozinho - by Lipepva - 16.05.2010, 00:39
Re: [DUV] Portгo Nгo Fexa Sozinho - by Peedro_Felix - 16.05.2010, 16:04
Re: [DUV] Portгo Nгo Fexa Sozinho - by Ricardo_Saddler - 16.05.2010, 16:11
Re: [DUV] Portгo Nгo Fexa Sozinho - by lomato - 16.05.2010, 16:25
Re: [DUV] Portгo Nгo Fexa Sozinho - by Peedro_Felix - 16.05.2010, 17:09

Forum Jump:


Users browsing this thread: 1 Guest(s)