#include #include forward PlayerToPoint(Float:radi, playerid, Float:x, Float:y, Float:z); forward ExtractParametersFromString(const string[], number, out[]); #define COLOR_AMARILLO 0xFFFF00 #define COLOR_AZUL 0x0066FF #define COLOR_ROJO 0xFF3300 #define COLOR_VERDEFLOJO 0x00FF00 #define COLOR_NARANJA 0xFF9900 #define COLOR_CELESTE 0x00FFFF #define COLOR_SYSTEM 0xEFEFF7AA #define COLOR_VERDE 0x00CC00 #define COLOR_VERDEOSCURO 0x006600 #define COLOR_BLANCO 0xFFFFFF #define COLOR_MARRON 0x996600 #define COLOR_NEGRO 0x000000 #define COLOR_AZULMARINO 0x0066CC #define COLOR_LILA 0xCC66FF #define COLOR_ROSA 0xFF66FF #define COLOR_GREY 0xAFAFAFAA #define COLOR_VERDE 0x33AA33AA #define COLOR_RED 0xAA3333AA #define COLOR_YELLOW 0xFFFF00AA #define COLOR_PINK 0xFF66FFAA #define COLOR_BLUE 0x0000BBAA #define COLOR_WHITE 0xFFFFFFAA #define COLOR_AQUA 0x00FFFFFF #define COLOR_AQUAGRN 0x7FFFD4FF #define COLOR_BLUEVILOT 0x8A2BE2FF #define COLOR_LTGREEN 0x7FFF00FF #define COLOR_DKGREEN 0x006400FF #define COLOR_GOLD 0xFFD700FF #define COLOR_GOLDENROD 0xDAA520FF #define COLOR_LIGHTBLUE 0x33CCFFAA #define COLOR_DARKRED 0x660000AA #define COLOR_ORANGE 0xFF9900AA public OnFilterScriptInit() { print("\n--------------------------------------------"); print("System stats made by Delit(c)\n"); print("1.0"); print("--------------------------------------------\n"); return 1; } //------------------------------------------------------------------------------ public PlayerToPoint(Float:radi, playerid, Float:x, Float:y, Float:z) {//Public Enemy new Float:oldposx, Float:oldposy, Float:oldposz; new Float:tempposx, Float:tempposy, Float:tempposz; GetPlayerPos(playerid, oldposx, oldposy, oldposz); tempposx = (oldposx -x); tempposy = (oldposy -y); tempposz = (oldposz -z); if (((tempposx < radi) && (tempposx > -radi)) && ((tempposy < radi) && (tempposy > -radi)) && ((tempposz < radi) && (tempposz > -radi))) { return 1; } return 0; } //------------------------------------------------------------------------------ public ExtractParametersFromString(const string[], number, out[]) {//by EKup new length = strlen(string); new indexStart = 0; new indexEnd = 0; new numParInStr = 0; out[0]=EOS; while ((numParInStr < number) && (indexEnd < length)) { indexStart = indexEnd; while ((indexEnd < length) && (string[indexEnd] != ' ')) { indexEnd++; } numParInStr++; if((numParInStr < number) && (indexEnd < length) && (string[indexEnd] == ' ')) indexEnd++; } if(numParInStr!=number) return 0; new offset = indexStart; for(new i=indexStart; i