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;
}
I'm trying to pick up the object nearest, I get a message on the server saying:

Код:
[02:12:28] AttachPlayerObjectToPlayer : removed in 0.3. I can only attach global objects.
It's not a player object and it is created when the server starts, as in loaded through mysql.
Reply


Messages In This Thread
Having issues with AttachDynamicObjectToPlayer... - by Dokins - 16.04.2015, 01:13
Re: Having issues with AttachDynamicObjectToPlayer... - by Sascha - 16.04.2015, 08:27
Re: Having issues with AttachDynamicObjectToPlayer... - by RoboN1X - 16.04.2015, 09:06

Forum Jump:


Users browsing this thread: 1 Guest(s)