new cmd[128], idx;cmd = strtok(cmdtext, idx);//Ha van ilyen a módodba akkor ne írd beleif(strcmp(cmd, \"/me\", true) == 0){ new nev[MAX_PLAYER_NAME], tmp[256]; tmp = strtok(cmdtext, idx); if(strlen(tmp) == 0) return SendClientMessage(playerid, 0xFFFFFFFF, \"HASZNÁLAT: /me üzenet\"); GetPlayerName(playerid, nev, sizeof(nev)); format(tmp,sizeof(tmp),\"%s %s\",nev, tmp); SendClientMessageToAll(COLOR_LIGHTBLUE,tmp); return 1;}strtok(const string[], &index){new length = strlen(string);while ((index < length) && (string[index] <= \' \')){index++;}new offset = index;new result[20];while ((index < length) && (string[index] > \' \') && ((index - offset) < (sizeof(result) - 1))){result[index - offset] = string[index];index++;}result[index - offset] = EOS;return result;}
new cmd[128], idx;cmd = strtok(cmdtext, idx);//Ha van ilyen a módodba akkor ne írd beleif(strcmp(cmd, \"/me\", true) == 0){ new nev[MAX_PLAYER_NAME], tmp[128]; tmp = strtok(cmdtext, idx); if(strlen(tmp)) return SendClientMessage(playerid,COLOR_YELLOW,\"HASZNÁLAT: /b [szöveg]\"); GetPlayerName(playerid,nev,MAX_PLAYER_NAME); format(tmp,128,\"(( %s: %s ))\",nev,tmp); ProxDetector(20.0,playerid,tmp,COLOR_FADE1,COLOR_FADE2,COLOR_FADE3,COLOR_FADE4,COLOR_FADE5); return 1;}strtok(const string[], &index){new length = strlen(string);while ((index < length) && (string[index] <= \' \')){index++;}new offset = index;new result[20];while ((index < length) && (string[index] > \' \') && ((index - offset) < (sizeof(result) - 1))){result[index - offset] = string[index];index++;}result[index - offset] = EOS;return result;}
GetPlayerName(playerid, nev, sizeof(nev));
tmp = strtok(cmdtext, idx);
cmd = strtok(cmdtext, idx);
De Pls Valaki Illessze Már Be Nekem A Megfelelo Helyre És Adjon Már Majd Egy Linket PLS Elore Is Köszi....