Start Engine command GTA: SAMP

Start Engine command GTA: SAMP

GTA: SAMP how to start car engine from command using Pawno script check the following piece of code. 🙂 But at first lets check the function we will use:GetVehicleModel https://wiki.sa-mp.com/wiki/GetVehicleModel GetPlayerVehicleID https://wiki.sa-mp.com/wiki/GetPlayerVehicleID GetVehicleParamsEx https://wiki.sa-mp.com/wiki/GetVehicleParamsEx GetPlayerState https://wiki.sa-mp.com/wiki/GetPlayerState SetVehicleParamsEx https://wiki.sa-mp.com/wiki/SetVehicleParamsEx CMD:engine(playerid, params[]) { if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 481 || GetVehicleModel(GetPlayerVehicleID(playerid)) == 509 || GetVehicleModel(GetPlayerVehicleID(playerid))…
PHP multitasks (Threads)

PHP multitasks (Threads)

To speed up the execution of multi tasks, it makes sense to split the work over multiple threads, each performing a smaller task. On a multi-core or on multiple processors, this will mean that multiple processors can do a part of the work that needs to be done, at the…
JavaScript promises

JavaScript promises

Promises let you code asynchronously with ease, without having to resort to nasty callback functions & events. Here’s a small example: var promise = new Promise(function(resolve, reject) { // Do something async here (e.g. an xhr call) // Depending on the outcome of your operation, you either resolve or reject…
Caching is a great technique

Caching is a great technique

Caching is a great technique. Cache is essential if you have a high-traffic application. But unless there’s a steady stream of predictable traffic, you risk having no data in cache at the time you need it most: when traffic spikes. When all of a sudden, there are a lot of simultaneous…
2019 Top WordPress Plugins

2019 Top WordPress Plugins

Top highlight Best WordPress Plugins In 2019 So, you have launched your new WordPress blog. It is the biggest platform that powers 34% of websites all over the internet. There is no doubt that WordPress is one of the best blogging platforms out there. What makes it the best? This is a…
White ScreenWordPress

White ScreenWordPress

The cause of white screen in WordPress could be one this PHP error, Database error. So in this case you have to check the server logs for Apache and your DB engine. How to check logs in Apache2 ? simply connect to your server through SSH and write the following…
Install VSFTP Ubuntu 18.04

Install VSFTP Ubuntu 18.04

vsftpd, is an FTP server for Unix-like systems, including Linux. It is licensed under the GNU General Public License. It supports IPv6 and SSL. vsftpd supports explicit and implicit FTPS. vsftpd is the default FTP server in the Ubuntu, CentOS, Fedora, NimbleX, Slackware and RHEL Linux distributions. https://security.appspot.com/vsftpd.html1: INSTALL VSFTP $>…
PHP – Redis retrieve all entries

PHP – Redis retrieve all entries

The following function will retrieve all sub keys in Redis as array, so you can loop them to do whatever for each hash key like set expiration or delete or set new value. <?php use Predis; function recursiveScan ($pattern, $redisObject=null, $cursor=null, $allResults=array()) { // Zero means full iteration if ($cursor==="0")…