CMD:radio(playerid,params[]){new Rang[128]; if(IsPlayerConnected(playerid)) { if(PlayerInfo[playerid][pFrakcio] == 1) { new radio[128]; if(sscanf(params,\"s[128]\",radio))return SendClientMessage(playerid,GREEN,\"Használat:/(r)ádió <Szöveg>\"); format(string1,sizeof(string1),\"[RÁDIÓ]%s [%d] mondja: %s\",Neve(playerid),Rang,radio); SendFrakcioMessage(1,GREEN,string1); format(string1,sizeof(string1),\"[RÁDIÓ]Valaki mondja: %s\",radio); ProxDetector(playerid,GREEN,string1,6.0);if(PlayerInfo[playerid][pRank] == 0) { Rang = \"Kadét\"; } } } return 1;}
CMD:radio(playerid,params[]){new Rang[128]; if(IsPlayerConnected(playerid)) { if(PlayerInfo[playerid][pFrakcio] == 1) { new radio[128]; if(sscanf(params,\"s[128]\",radio))return SendClientMessage(playerid,GREEN,\"Használat:/(r)ádió <Szöveg>\"); if(PlayerInfo[playerid][pRank] == 0) { Rang = \"Kadét\"; } format(string1,sizeof(string1),\"[RÁDIÓ]%s [%s] mondja: %s\",Neve(playerid),Rang,radio); SendFrakcioMessage(1,GREEN,string1); format(string1,sizeof(string1),\"[RÁDIÓ]Valaki mondja: %s\",radio); ProxDetector(playerid,GREEN,string1,6.0); } } return 1;}
stock GetPlayerRang(playerid){new lvl[32+1];if(pInfo[playerid][frakcio] == 0){lvl = \"-\";}if(pInfo[playerid][frakcio] == 1){switch(pInfo[playerid][rang]){ case 1: lvl = \"Kadét\"; case 2: lvl = \"Õrmester\"; case 3: lvl = \"Zászlós\"; case 4: lvl = \"Hadnagy\"; case 5: lvl = \"Ezredes\"; case 6: lvl = \"Tábornok\";}}if(pInfo[playerid][frakcio] == 2){switch(pInfo[playerid][rang]){ case 1: lvl = \"\"; case 2: lvl = \"\"; case 3: lvl = \"\"; case 4: lvl = \"\"; case 5: lvl = \"\"; case 6: lvl = \"\";}}if(pInfo[playerid][frakcio] == 3){ switch(pInfo[playerid][rang]){ case 1: lvl = \"\"; case 2: lvl = \"\"; case 3: lvl = \"\";}}if(pInfo[playerid][frakcio] == 4){ switch(pInfo[playerid][rang]){ case 1: lvl = \"\"; case 2: lvl = \"\"; case 3: lvl = \"\";}} return lvl;}