02.05.2013, 06:13
Looks like it's scripted fairly decently one thing though for future reference.
If you have something like this use #define
#define isdriver(%0) if(sPlayerInfo[%0][sDriver])
or reference it directly
if(sPlayerInfo[playerid][sDriver])
There is no need for a function.
Код:
stock isDriver(playerid) { if(sPlayerInfo[playerid][sDriver] == 1) return 1; return 0; }
#define isdriver(%0) if(sPlayerInfo[%0][sDriver])
or reference it directly
if(sPlayerInfo[playerid][sDriver])
There is no need for a function.