24.08.2011, 04:38
Code:
if(strcmp(cmd, "/tccduty", true) == 0) { new str[128]; if(PlayerInfo[playerid][pMember] == 17) { if(tccind[playerid] == 0) { GetPlayerName(playerid, sendername, sizeof(sendername)); tccind[playerid] = 1; format(str,sizeof(str), "%s Este Acuma La Datorie Pentru A Tracta Orice Masina", sendername); ABroadCast(COLOR_YELLOW,str2,1); } else { GetPlayerName(playerid, sendername, sizeof(sendername)); new string3[256]; tccind[playerid] = 0; format(str,sizeof(str), "%s Nu Mai Este La Datorie Pentru A Tracta Masini.", sendername); ABroadCast(COLOR_YELLOW,str,1); } } return 1; }