28.09.2010, 15:39
PHP код:
\RP.pwn(505) : error 035: argument type mismatch (argument 2)
C:\Documents and Settings\\My Documents\Downloads\samp03bsvr_R2_win32\gamemodes\RP.pwn(797) : warning 203: symbol is never used: "me"
PHP код:
if(!strcmp(cmdtext, "/me", true, 3))
{
if(!cmdtext[3])return SendClientMessage(playerid, 0xFFFFFFAA, "USAGE: /me [msg]");
new str[128];
GetPlayerName(playerid, str, sizeof(str));
format(str, sizeof(str), "* %s %s", str, cmdtext[4]);
line 505 SendClientMessage(0xFFFFFFAA, str);
return 1;
}
Plus do I need to use this :
I did use it if yes where should I put it ?
PHP код:
new
string[128],
name[MAX_PLAYER_NAME];
GetPlayerName(playerid,name, MAX_PLAYER_NAME);
format(string,sizeof(string),"* %s %s ",name,params);
ProxDetector(20.0, playerid, string,COLOR1,COLOR2,COLOR3,COLOR4,COLOR5); // 20 = radius