02.11.2009, 19:51
Quote:
Originally Posted by Don Correlli
Quote:
pawn Код:
|
Код:
if (strcmp("/tpm", cmdtext, true, 4) == 0) { new str[128],pName[MAX_PLAYER_NAME]; GetPlayerName(playerid,pName,sizeof(pName)); format(str,sizeof(str),"TeamMsg (%s): %s",pName,cmdtext/text); for(new i = 0; i < MAX_PLAYERS; i++) { if(GetPlayerTeam(i) == GetPlayerTeam(playerid)) { SendClientMessage(i,0xFFFF00FF,str); } } }
Код:
undefined symbol "text"