03.12.2014, 07:52
Bueno quiero cambiarle el color a un objeto utilizando SetPlayerAttachedObject pero al momento de compilar sale un warning (warning 202: number of arguments does not match definition)
linea:
if(objetoid >= 39 && objetoid <= 50) SetPlayerAttachedObject(playerid,1,ObjetoInfo[objetoid][ModeloObjeto],6,0.053999,0.000000,0.000000,0.000000,0.000000,0. 000000,0.552999,0.720999,0.497000,CNEGROARGB);
el stock donde esta esa linea :
stock Pobjeto(playerid, slot, objetoid)
{
if(slot == 1)
{
como tengo definido el color :
#define CNEGROARGB 0xFF000000
espero que me ayuden es urgente gracias
linea:
if(objetoid >= 39 && objetoid <= 50) SetPlayerAttachedObject(playerid,1,ObjetoInfo[objetoid][ModeloObjeto],6,0.053999,0.000000,0.000000,0.000000,0.000000,0. 000000,0.552999,0.720999,0.497000,CNEGROARGB);
el stock donde esta esa linea :
stock Pobjeto(playerid, slot, objetoid)
{
if(slot == 1)
{
como tengo definido el color :
#define CNEGROARGB 0xFF000000
espero que me ayuden es urgente gracias