Skip to content

Lockpick system inspired by FIVEM but now for SAMP and fully dynamic.

Notifications You must be signed in to change notification settings

devbluen/lockpick-samp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

🫧 LOCK-PICK

This is a fully dynamic lockpick include for your SAMP server. You can configure the layout and how it will function. If you encounter any issues or have any questions, please open an issue.

Dependencies

⚠️ YSI-Includes

Functions

CreateLockPick(playerid, const callback[], seconds);
CancelLockPick(playerid);
IsPlayerInLockPick(playerid);

Status

E_LOCKPICK_SUCCESS
E_LOCKPICK_ERROR

Usage Example

forward lockpick(playerid, E_LOCKPICK_STATUS:status);
public lockpick(playerid, E_LOCKPICK_STATUS:status) {

    if(status == E_LOCKPICK_SUCCESS) SendClientMessage(playerid, -1, "LOCKPICK: Success");
    else if(status == E_LOCKPICK_ERROR) SendClientMessage(playerid, -1, "LOCKPICK: Error");
    return true;
}

CMD:lockpick(playerid, params[]) {

    new time;
    if(sscanf(params, "d", time))
        return true;

    CreateLockPick(playerid, "lockpick", time);
    return true;
}

📼 Gif

About

Lockpick system inspired by FIVEM but now for SAMP and fully dynamic.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages