#include <zcmd>stock GetName(playerid){ new Name[MAX_PLAYER_NAME]; GetPlayerName(playerid, Name, sizeof(Name)); return Name;}CMD:i(playerid, params[]){new string[256];if(isnull(params)) return SendClientMessage(playerid, -1, \"/i <szöveg>\");for(new i = 0; i < MAX_PLAYERS; i++){ if(!strcmp(GetName(playerid), \"Pisti\", true) || !strcmp(GetName(playerid), \"Laci\", true) || !strcmp(GetName(playerid), \"Feri\", true)) {format(string, sizeof(string), \"%s: %s\", GetName(playerid), params);SendClientMessage(i, 0x006FDD96, string); }}return 1;}
stock GetName(playerid) { new Name[MAX_PLAYER_NAME]; GetPlayerName(playerid, Name, sizeof(Name)); return Name;} CMD:i(playerid, params[]) { new string[256]; if(isnull(params)) return SendClientMessage(playerid, -1, \"/i <szöveg>\"); for(new i = 0; i < MAX_PLAYERS; i++) { if(!strcmp(GetName(playerid), \"Pisti\", true) || !strcmp(GetName(playerid), \"Laci\", true) || !strcmp(GetName(playerid), \"Feri\", true)) { format(string, sizeof(string), \"%s(%i): %s\", GetName(playerid), playerid, params); SendClientMessage(i, 0x006FDD96, string); } } return 1;}
stock GetName(playerid) { new Name[MAX_PLAYER_NAME]; GetPlayerName(playerid, Name, sizeof(Name)); return Name;} CMD:i(playerid, params[]) { new string[256]; if(isnull(params)) return SendClientMessage(playerid, -1, \"/i <szöveg>\");if(!strcmp(GetName(playerid), \"Pisti\", true) || !strcmp(GetName(playerid), \"Laci\", true) || !strcmp(GetName(playerid), \"Feri\", true)) { for(new i = 0; i < MAX_PLAYERS; i++) { if(!strcmp(GetName(i), \"Pisti\", true) || !strcmp(GetName(i), \"Laci\", true) || !strcmp(GetName(i), \"Feri\", true)) { format(string, sizeof(string), \"%s(%i): %s\", GetName(playerid), playerid, params); SendClientMessage(i, 0x006FDD96, string); } }}else SendClientMessage(playerid,-1,\"Te nem használhatod ezt a parancsot!\"); return 1;}