From SA-MP Wiki

Jump to: navigation, search

This Function allows to set players special action

(playerid, actionid)
playeridThe player that should perform the action
actionidThe action that should be performed.

ReturnsThis function doesn't return a specific value.

if(strcmp(cmd, "/handsup", true) == 0)
    return 1;

Related Functions

The following functions may be useful, as they are related to this function in one way or another.

Personal tools
In other languages