[ajuda] G_ObjectsRot
#1

pawn Код:
if(strcmp(cmdtext, "/adp", true) == 0)
     {
        if(gTeam[playerid] == POLICIAL)
        {
        MoveDynamicObject( portaodp_1 ,-1701.74951172,692.79522705,25.56531525, 2.00);
        RotateObject(portaodp,0.00000000,90.00000000,90.00000000,1,2.00);//
        MoveDynamicObject( portaodp ,-1572.21911621,658.91766357,7.07812500,2.00);
        GameTextForPlayer(playerid, "~w~~n~~n~~n~~n~~n~~n~~n~ Portao principal aberto", 2500, 5);
        }
        else SendClientMessage(playerid, BRANCO, "COMANDO NГO AUTORIZADO.");
        return 1;
    }
Код:
C:\Users\GABRIEL\Desktop\samp03csvr_R2-2_win32\pawno\include\G_ObjectsRot.inc(91) : error 004: function "OnObjectRotated" is not implemented
??
Reply
#2

acho q o erro ta na include
Reply
#3

Abra a pasta include em seu directуrio, a seguir abra a include G_ObjectsRot.inc, e coloque no topo dela nativ G_ObjectsRot(...) // Os ... vocк troca por sua funзгo que existe dentro da public.
Reply
#4

Nгo й nada disso, esse erro diz que й preciso implementar uma funзгo no teu script. Coloca isso:

pawn Код:
public OnObjectRotated(objectid)
{
    //se quiser que algo aconteзa aqui ..
    return 1;
}
Se der mais erros iguais, faзa o mesmo, mas com a public certa.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)