Command issue
#7

PHP код:
\RP.pwn(505) : error 035argument type mismatch (argument 2)
C:\Documents and Settings\\My Documents\Downloads\samp03bsvr_R2_win32\gamemodes\RP.pwn(797) : warning 203symbol is never used"me" 
PHP код:
 if(!strcmp(cmdtext"/me"true3))
        {
        if(!
cmdtext[3])return SendClientMessage(playerid0xFFFFFFAA"USAGE: /me [msg]");
        new 
str[128];
        
GetPlayerName(playeridstrsizeof(str));
        
format(strsizeof(str), "* %s %s"strcmdtext[4]);
       
line 505  SendClientMessage(0xFFFFFFAAstr);
        return 
1;

And the "me" Doesn't appear, there is nothing in line 797.
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,nameMAX_PLAYER_NAME);
    
format(string,sizeof(string),"* %s %s ",name,params);
    
ProxDetector(20.0playeridstring,COLOR1,COLOR2,COLOR3,COLOR4,COLOR5); // 20 = radius 
Reply


Messages In This Thread
Command issue - by Scriptissue - 28.09.2010, 11:57
Re: Command issue - by Voldemort - 28.09.2010, 12:02
Re: Command issue - by DarkPower - 28.09.2010, 12:11
Re: Command issue - by mmrk - 28.09.2010, 12:16
Re: Command issue - by Scriptissue - 28.09.2010, 13:17
Re: Command issue - by <Weponz> - 28.09.2010, 13:42
Re: Command issue - by Scriptissue - 28.09.2010, 15:39
Re: Command issue - by Scenario - 28.09.2010, 16:01
Re: Command issue - by Scriptissue - 29.09.2010, 07:35
Re: Command issue - by samgreen - 29.09.2010, 07:42

Forum Jump:


Users browsing this thread: 1 Guest(s)