SA-MP Forums Archive
[ajuda] G_ObjectsRot - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Non-English (https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [ajuda] G_ObjectsRot (/showthread.php?tid=253398)



[ajuda] G_ObjectsRot - JOKERBOY - 06.05.2011

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
??


Respuesta: [ajuda] G_ObjectsRot - henrique_wwi - 06.05.2011

acho q o erro ta na include


Re: [ajuda] G_ObjectsRot - Macintosh - 06.05.2011

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.


Re: [ajuda] G_ObjectsRot - [BEP]AcerPilot - 06.05.2011

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.