09.08.2013, 11:55
ok i change it to this
to make it work with me and it don't have any errors but when i try it it says
what to do to make it work ?
Код:
if (strcmp("/w", cmdtext, true, 10) == 0) { new string[250]; if(!cmdtext[3])return SendClientMessage(playerid, 0xFF0000FF, "USAGE:/whisper [message]"); SetPlayerChatBubble(playerid,string,COLOR_YELLOW,35,10000); new Float:x,Float:y,Float:z; GetPlayerPos(playerid,x,y,z); new pName[24]; GetPlayerName(playerid,pName,sizeof(pName)); new string2[250]; format(string2,sizeof(string2),"%s(%d):%s",pName,playerid,string); for(new i=0;i<=MAX_PLAYERS;i++) { if(IsPlayerInRangeOfPoint(i,15.0,x,y,z)) return SendClientMessage(playerid,COLOR_YELLOW,string2); } return 1; }
Quote:
SERVER: Unknown command |