sistema fake chat
#8

mudei ficou assim agr deu erro no idx

linhas

PHP код:
    if(strcmp(cmd"/fakechat"true) == 0)
    {
        if(
IsPlayerAdmin(playerid))
        {
            new 
texto[256], idstr[128];
            
tmp strtok(cmd,idx);
            if(!
strlen(tmp)) return SendClientMessage(playerid, -1,"USO: /fakechat [ID] [TEXTO]");
            
id strval(tmp);
            
texto strtok(cmdidx);
            
format(strsizeof(str),"Vocк forзou %d а falar:",id);
            
SendClientMessage(playerid, -1str);
            
format(strsizeof(str),"%s",texto);
            
SendClientMessage(playerid, -1str);
            
OnPlayerText(idtexto);
        }
        else return 
SendClientMessage(playerid, -1"Vocк nгo estб logado na RCON.");
    }
        return 
1;

erros

PHP код:
C:\Documents and Settings\Antonio\Desktop\Cуpia de samp host\gamemodes\aviao.pwn(112) : error 017undefined symbol "idx"
C:\Documents and Settings\Antonio\Desktop\Cуpia de samp host\gamemodes\aviao.pwn(115) : error 017undefined symbol "idx"
C:\Documents and Settings\Antonio\Desktop\Cуpia de samp host\gamemodes\aviao.pwn(120) : error 004: function "OnPlayerText" is not implemented
C
:\Documents and Settings\Antonio\Desktop\Cуpia de samp host\gamemodes\aviao.pwn(124) : warning 217loose indentation
Pawn compiler 3.2.3664              Copyright 
(c1997-2006ITB CompuPhase
3 Errors

Reply


Messages In This Thread
sistema fake chat - by atsbs - 15.09.2011, 01:49
Re: sistema fake chat - by Dolby - 15.09.2011, 01:54
Re: sistema fake chat - by WLSF - 15.09.2011, 01:55
Re: sistema fake chat - by atsbs - 15.09.2011, 01:57
Re: sistema fake chat - by Dolby - 15.09.2011, 02:00
Re: sistema fake chat - by atsbs - 15.09.2011, 02:01
Re: sistema fake chat - by Dolby - 15.09.2011, 02:05
Re: sistema fake chat - by atsbs - 15.09.2011, 02:08
Re: sistema fake chat - by Dolby - 15.09.2011, 02:14
Re: sistema fake chat - by atsbs - 15.09.2011, 02:20

Forum Jump:


Users browsing this thread: 3 Guest(s)