There are 2 actual checkpoints in SAMP, ignoring race CPs here. The standard checkpoint (SetPlayerCheckpoint) which can be modified in size, it's red and has multiple layers.
Then there are also the mission Checkpoints which can be spawned by creating a MapIcon with mode MAP_ICON_LOCAL_CHECKPOINT or MAP_ICON_GLOBAL_CHECKPOINT.
Iirc the Ammu Nations and Restaurants use the standard red checkpoint, which can be achieved with SetPlayerCheckpoint.
Like niCe and Macronix said, it's scripted, they use SetPlayerCheckpoint to create a checkpoint at that location.
Furthermore the Menus from SP can indeed be recreated. You just need to know how to add multiple columns and use DisableMenuRow for the grey texts (prices, etc).
Quote:
Originally Posted by Mike861
Is it possible to use left and right keys to change between meals and have all the sounds and exact same animations like from singleplayer?
|
Yes, you need to find out the animations and use an actor as ped. Rest can be scripted with ApplyActorAnimation, GetPlayerKeys and SetPlayerCameraPos/LookAt.
If you also want the actual meal to be carried by the Ped, you'll need to use an NPC with SetPlayerAttachedObject.