12.12.2009, 02:17
Hey,
I really think that these functions (SPECIAL_ACTION_DRINK_BEER; SPECIAL_ACTION_SMOKE_CIGGY; SPECIAL_ACTION_DRINK_WINE; SPECIAL_ACTION_DRINK_SPRUNK, SPECIAL_ACTION_USECELLPHONE) are ungeneric and it should be replaced by a more "generic" function, I mean by that, a function that would allow scripters to do more things.
All these functions are just attaching an object to a player bone part + applying an animation, what about just create a AttachObjectToPlayerBone(playerid, boneid) and AttachObjectToPlayerBoneOffsets(playerid,boneid,x, y,z), just like the original .scm functions you probably used to do that, you gonna tell me "Why?" because it would allow scripters to attach anything they actually want to the player bones, any objects like a wallet or I don't know and it would increase possibilities (and even more for roleplaying servers)
Well I hope it will make you think about that.
Peace, Lil' Dan.
I really think that these functions (SPECIAL_ACTION_DRINK_BEER; SPECIAL_ACTION_SMOKE_CIGGY; SPECIAL_ACTION_DRINK_WINE; SPECIAL_ACTION_DRINK_SPRUNK, SPECIAL_ACTION_USECELLPHONE) are ungeneric and it should be replaced by a more "generic" function, I mean by that, a function that would allow scripters to do more things.
All these functions are just attaching an object to a player bone part + applying an animation, what about just create a AttachObjectToPlayerBone(playerid, boneid) and AttachObjectToPlayerBoneOffsets(playerid,boneid,x, y,z), just like the original .scm functions you probably used to do that, you gonna tell me "Why?" because it would allow scripters to attach anything they actually want to the player bones, any objects like a wallet or I don't know and it would increase possibilities (and even more for roleplaying servers)
Well I hope it will make you think about that.
Peace, Lil' Dan.