Having issues with AttachDynamicObjectToPlayer...
#1

pawn Код:
CMD:steal(playerid, params[])
{
    new furni;
    for(new o = 1; o < MAX_FURNI; o++)
    {
        if(IsPlayerInRangeOfPoint(playerid, 3, FurniX[o], FurniY[o], FurniZ[o]))
        {
            furni = o;
            printf(" ID %d" , o);
           
        }
    }
    printf("Furni Picked %d", FurniObject[furni]);
    AttachDynamicObjectToPlayer(FurniObject[furni], playerid,0.1,0.2,0.1,0.1,0.1,0.1);
    SetPlayerSpecialAction(playerid, 25);
    return 1;
}
It does not work and returns this:

Код:
AttachPlayerObjectToPlayer : removed in 0.3. I can only attach global objects.
I use a streamer for the objects, is there a way to make it work so I can 'carry' objects?
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)