[Ajuda] syntax error in the expression, or invalid function call
#7

Quote:
Originally Posted by Q.I
Посмотреть сообщение
poste desde dos new etc todas as parte que voce esta usando tal funзao.
Beleza.

pawn Код:
new PortaRec;
forward FecharPRec();
forward FecharPortaoRec();
PortaRec = CreateDynamicObject(8957, 250.5, 61.400001525879, 1005.200012207, 0, 0, 0);
    if(strcmp(cmdtext, "/abrirportrec", true) == 0) // porta recepcao DP
    {
        if(IsPlayerInRangeOfPoint(playerid, 2.0, 250.5, 61.400001525879, 1005.200012207))
        {
            MoveDynamicObject(PortaRec, 250.5, 61.400001525879, 999.79998779297, 3.0);
            SetTimer("FecharPortaoRec", 12000, 0);
        }
    }
public FecharPortaoRec()
{
      MoveDynamicObject(FecharPRec, 250.5, 61.400001525879, 1005.200012207, 0, 0, 0, 3.0);
      return 1;
}
Isso ae '-'
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)