05.06.2012, 15:08
Umm, there is another way of doing that:-
You can use this function to replace the texture of an object with the texture from another model in the game. Important Note: You MUST use ARGB color format, not RGBA like used in client messages etc.
https://sampwiki.blast.hk/wiki/SetObjectMaterial
or you can do this for individual players.
https://sampwiki.blast.hk/wiki/SetPlayerObjectMaterial
Hope this helps
FalconX
pawn Код:
SetObjectMaterial( objectid, materialindex, modelid, txdname[], texturename[], materialcolor );
https://sampwiki.blast.hk/wiki/SetObjectMaterial
or you can do this for individual players.
pawn Код:
SetPlayerObjectMaterial( playerid, objectid, materialindex, modelid, txdname[], texturename[], materialcolor );
Hope this helps

FalconX