04.05.2015, 01:57
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;
}
Код:
AttachPlayerObjectToPlayer : removed in 0.3. I can only attach global objects.