25.09.2009, 20:56
Add the following under include
and this over your first callback
This will allow you to use the dcmd commands which will remove 2 of the 3 errors.
The last 1 which is "Loose indentation" can be fixed by deleting all the spaces before the function then press tab until it fits with the rest of the lines
Код:
#include <dutils> #include <dudb> #include <float>
Код:
#define dcmd(%1,%2,%3) if ((strcmp((%3)[1], #%1, true, (%2)) == 0) && ((((%3)[(%2) + 1] == 0) && (dcmd_%1(playerid, "")))||(((%3)[(%2) + 1] == 32) && (dcmd_%1(playerid, (%3)[(%2) + 2]))))) return 1 #pragma unused ret_memcpy #pragma tabsize 4
The last 1 which is "Loose indentation" can be fixed by deleting all the spaces before the function then press tab until it fits with the rest of the lines