12.06.2009, 12:47
Код:
Quote:
if(strcmp(cmdtext, "/InviteDrift", true) == 0) { tmp = strtok(cmdtext, idx); new string[256], string2[256]; new otherplayer = strval(tmp); new name[MAX_PLAYER_NAME]; new opname[MAX_PLAYER_NAME]; GetPlayerName(playerid,name,sizeof(name)); GetPlayerName(otherplayer,opname,sizeof(opname)); if(!strlen(tmp)) return SendClientMessage(playerid, WHITE, "Use: /InviteDrift [playerid]"); format(string,sizeof(string), ".Drift - [ID:%d | %s] הוזמנת לקרב על ידי השחקן", playerid, name); format(string2,sizeof(string2), ".Drift - לדריפט [ID:%d | %s] הזמנת בהצלחה את השחקן", otherplayer, opname); SendClientMessage(otherplayer, LIGHTBLUE, string); SendClientMessage(playerid, LIGHTBLUE, string2); return 1; }
why? :S