Help with my /givetag command.
#6

Well.
It's not working since I have 3 errors:
Код:
C:\Users\USER\Documents\samp03e_svr_R2_win32\gamemodes\TestGM.pwn(129) : error 035: argument type mismatch (argument 1)
C:\Users\USER\Documents\samp03e_svr_R2_win32\gamemodes\TestGM.pwn(133) : error 035: argument type mismatch (argument 1)
C:\Users\USER\Documents\samp03e_svr_R2_win32\gamemodes\TestGM.pwn(137) : error 035: argument type mismatch (argument 1)
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


3 Errors.

PHP код:
CMD:givetag(playeridparams[])
{
    new 
targetid; new text[128]; new color;
    if(
sscanf(params"us[128]s",targetidtextcolor)) return SendClientMessage(playeridCOLOR_ORANGE"Usage: /givetag (ID) (Text) (Color) ");
    if(
strcmp(color"green"true) == 0)
    {
    
SetPlayerChatBubble(targetidtextCOLOR_GREEN100.0600000);
    }
       else if(
strcmp(color"blue"true) == 0)
    {
    
SetPlayerChatBubble(targetidtextCOLOR_BLUE100.0600000);
    }
       else if(
strcmp(color"gold"true) == 0)
    {
    
SetPlayerChatBubble(targetidtextCOLOR_GOLD100.0600000);
    }
    return 
1;

Reply


Messages In This Thread
Help with my /givetag command. - by Magic_Time - 28.12.2012, 16:12
Re: Help with my /givetag command. - by [HK]Ryder[AN] - 28.12.2012, 16:20
Re: Help with my /givetag command. - by Diorturato - 28.12.2012, 16:21
Re: Help with my /givetag command. - by Magic_Time - 28.12.2012, 16:28
Re: Help with my /givetag command. - by Diorturato - 28.12.2012, 16:34
Re: Help with my /givetag command. - by Magic_Time - 28.12.2012, 16:38
Re: Help with my /givetag command. - by Diorturato - 28.12.2012, 16:44
Re: Help with my /givetag command. - by Magic_Time - 28.12.2012, 16:56

Forum Jump:


Users browsing this thread: 6 Guest(s)