1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. 15. 16. 17. 18. 19. 20. 21. 22. 23. 24. 25. 26. 27. | SetObjectMaterial(objectid, materialindex, modelid, txdname[], texturename[], materialcolor) SetObjectMaterialText(objectid, text[], materialindex = 0, materialsize = OBJECT_MATERIAL_SIZE_256x128, fontface[] = "Arial", fontsize = 24, bold = 1, fontcolor = 0xFFFFFFFF, backcolor = 0, textalignment = 0) SetPlayerObjectMaterial(playerid, objectid, materialindex, modelid, txdname[], texturename[], materialcolor) SetPlayerObjectMaterialText(playerid, objectid, text[], materialindex = 0, materialsize = OBJECT_MATERIAL_SIZE_256x128, fontface[] = "Arial", fontsize = 24, bold = 1, fontcolor = 0xFFFFFFFF, backcolor = 0, textalignment = 0) - native PlayerText:CreatePlayerTextDraw(playerid, Float:x, Float:y, text[]); native PlayerTextDrawShow(playerid, PlayerText:text); native PlayerTextDrawHide(playerid, PlayerText:text); native PlayerTextDrawSetString(playerid, PlayerText:text, string[]); // ..[] etc - native TextDrawSetSelectable(Text:text, set); // the default is 0 (non-selectable) native SelectTextDraw(playerid, hovercolor); // enables the mouse so the player can select a textdraw native CancelSelectTextDraw(playerid); // cancel textdraw selection with the mouse forward OnPlayerClickTextDraw(playerid, Text:clickedid); - native AttachPlayerObjectToVehicle(playerid, objectid, vehicleid, Float:fOffsetX, Float:fOffsetY, Float:fOffsetZ, Float:fRotX, Float:fRotY, Float:RotZ); native InterpolateCameraPos(playerid, Float:FromX, Float:FromY, Float:FromZ, Float:ToX, Float:ToY, Float:ToZ, time, cut = CAMERA_CUT); native InterpolateCameraLookAt(playerid, Float:FromX, Float:FromY, Float:FromZ, Float:ToX, Float:ToY, Float:ToZ, time, cut = CAMERA_CUT); native AttachCameraToObject(playerid, objectid); native AttachCameraToPlayerObject(playerid, playerobjectid); - native GetPlayerVersion(playerid, const version[], len); // Returns the SA-MP client revision as reported by the player - #define CAMERA_CUT 2 #define CAMERA_MOVE 1 native SetPlayerCameraLookAt(playerid, Float:x, Float:y, Float:z, cut = CAMERA_CUT); |