Writing SA-MP game modes in C/C++