03.11.2009, 04:47
im trying to get format(string, sizeof(string), to show twice but it only shows one or the other and not both what am i doing worng?
Код:
if (!strcmp(cmdtext, "/sexshop", true)) if(IsPlayerConnected(playerid)) if(PlayerInfo[playerid][pLeader] == 4 || PlayerInfo[playerid][pLeader] == 15 || PlayerInfo[playerid][pLeader] == 1 || PlayerInfo[playerid][pMember] == 4) { timerkiller = SetTimer("sexshop", 1000, true); format(string, sizeof(string), "** %s Dispatch: FIRE REPORTED AT EOC IdleWood SEX Shop!!! **", sendername); format(string, sizeof(string), "** %s Dispatch: Get rid of the fire ASAP!!! **", sendername); SendRadioMessage(1, COLOR_BLUE, string); SendRadioMessage(2, COLOR_BLUE, string); SendRadioMessage(3, COLOR_BLUE, string); SendRadioMessage(4, COLOR_BLUE, string); SendRadioMessage(15, COLOR_BLUE, string); return 1; }