SetPVarInt(playerid, "IsRobbing", 0 or 1 to enable/disable robbing);
if (GetPVarInt(playerid, "IsRobbing") == 0 or 1) // check if player is robbing or not.