[Ajuda]Acho que e Bem simples[Erro]
#1

pawn Код:
C:\Documents and Settings\Administrador\Desktop\BNL\Gamemode NV\gamemodes\BNL.PWN(76366) : error 017: undefined symbol "cmd"
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


1 Error.
Linha :
pawn Код:
if(strcmp(cmd, "/cassino", true) == 0)
Continuaзao do comando cassino
Ja tentei algumas coisas mais nao tou conseguindo arrumar isto
pawn Код:
if(strcmp(cmd, "/cassino", true) == 0)
{
     if(PlayerToPoint(10.0, playerid,-2765,382,6))
     SetPlayerInterior(playerid, 1);
     SetPlayerPos(playerid,2233.7998046875,1713.7144775391,1011.7869262695);
     PlayerInfo[playerid][pInt] = 1;
    return 0;
}
Nao me critiquem estou aprendendo .

E se Puderem ajudar neste Nao tou conseguindo saber oque e Acredito que seja Includes
pawn Код:
C:\Documents and Settings\Administrador\Desktop\BNC\Gamemode NV\gamemodes\BNC.pwn(16633) : error 017: undefined symbol "strtok"
C:\Documents and Settings\Administrador\Desktop\BNC\Gamemode NV\gamemodes\BNC.pwn(16633) : error 033: array must be indexed (variable "cmd")
C:\Documents and Settings\Administrador\Desktop\BNC\Gamemode NV\gamemodes\BNC.pwn(16700) : error 017: undefined symbol "strtok"
C:\Documents and Settings\Administrador\Desktop\BNC\Gamemode NV\gamemodes\BNC.pwn(16700) : error 033: array must be indexed (variable "tmp")
C:\Documents and Settings\Administrador\Desktop\BNC\Gamemode NV\gamemodes\BNC.pwn(16707) : error 017: undefined symbol "strtok"
C:\Documents and Settings\Administrador\Desktop\BNC\Gamemode NV\gamemodes\BNC.pwn(16707) : error 033: array must be indexed (variable "tmp")
C:\Documents and Settings\Administrador\Desktop\BNC\Gamemode NV\gamemodes\BNC.pwn(17010) : error 017: undefined symbol "strtok"
C:\Documents and Settings\Administrador\Desktop\BNC\Gamemode NV\gamemodes\BNC.pwn(17010) : error 033: array must be indexed (variable "tmp")
C:\Documents and Settings\Administrador\Desktop\BNC\Gamemode NV\gamemodes\BNC.pwn(17020) : error 017: undefined symbol "strtok"
C:\Documents and Settings\Administrador\Desktop\BNC\Gamemode NV\gamemodes\BNC.pwn(17020) : error 033: array must be indexed (variable "tmp")
C:\Documents and Settings\Administrador\Desktop\BNC\Gamemode NV\gamemodes\BNC.pwn(17022) : error 017: undefined symbol "strtok"
C:\Documents and Settings\Administrador\Desktop\BNC\Gamemode NV\gamemodes\BNC.pwn(17022) : error 033: array must be indexed (variable "tmp")
C:\Documents and Settings\Administrador\Desktop\BNC\Gamemode NV\gamemodes\BNC.pwn(18370) : error 017: undefined symbol "strtok"
C:\Documents and Settings\Administrador\Desktop\BNC\Gamemode NV\gamemodes\BNC.pwn(18370) : error 033: array must be indexed (variable "tmp")
C:\Documents and Settings\Administrador\Desktop\BNC\Gamemode NV\gamemodes\BNC.pwn(18378) : error 017: undefined symbol "strtoK
C:\Documents and Settings\Administrador\Desktop\BNC\Gamemode NV\gamemodes\BNC.pwn(18378) : error 033: array must be indexed (variable "
tmp")
C:\Documents and Settings\Administrador\Desktop\BNC\Gamemode NV\gamemodes\BNC.pwn(18468) : error 017: undefined symbol "
strtok"
C:\Documents and Settings\Administrador\Desktop\BNC\Gamemode NV\gamemodes\BNC.pwn(18468) : error 033: array must be indexed (variable "
tmp")
C:\Documents and Settings\Administrador\Desktop\BNC\Gamemode NV\gamemodes\BNC.pwn(18510) : error 017: undefined symbol "
strtok"
C:\Documents and Settings\Administrador\Desktop\BNC\Gamemode NV\gamemodes\BNC.pwn(18510) : error 033: array must be indexed (variable "
x_job")
C:\Documents and Settings\Administrador\Desktop\BNC\Gamemode NV\gamemodes\BNC.pwn(18518) : error 017: undefined symbol "
strtok"
C:\Documents and Settings\Administrador\Desktop\BNC\Gamemode NV\gamemodes\BNC.pwn(18518) : error 033: array must be indexed (variable "
tmp")
C:\Documents and Settings\Administrador\Desktop\BNC\Gamemode NV\gamemodes\BNC.pwn(18613) : error 017: undefined symbol "
strtok"
C:\Documents and Settings\Administrador\Desktop\BNC\Gamemode NV\gamemodes\BNC.pwn(18613) : error 033: array must be indexed (variable "
tmp")
C:\Documents and Settings\Administrador\Desktop\BNC\Gamemode NV\gamemodes\BNC.pwn(18922) : error 017: undefined symbol "
strtok"
C:\Documents and Settings\Administrador\Desktop\BNC\Gamemode NV\gamemodes\BNC.pwn(18922) : error 033: array must be indexed (variable "
tmp")

Compilation aborted.Pawn compiler 3.2.3664          Copyright © 1997-2006, ITB CompuPhase


26 Errors.
1 das Linhas
pawn Код:
if (strcmp(cmd, "/ver", true) == 0)
    {
        if(IsPlayerConnected(playerid))
        {
            if (PlayerInfo[playerid][pAdmin] >= 1)
            {
                tmp = strtok(cmdtext, idx);
                if(!strlen(tmp))
                {
                    SendClientMessage(playerid, COLOR_GRAD1, "USE: /ver [ id ]");
                    return 1;
                }
                if(admtrampando[playerid] < 1)
                {
                SendClientMessage(playerid, COLOR_GRAD1, "Vocк nгo estб trabalhando! (/profadmin)");
                return 1;
                }
                //giveplayerid = strval(tmp);
                giveplayerid = ReturnUser(tmp);
                if(IsPlayerConnected(giveplayerid))
                {
                    if(giveplayerid != INVALID_PLAYER_ID)
                    {
                        ShowStats(playerid,giveplayerid);
                    }
                }
                else
                {
                    SendClientMessage(playerid, COLOR_GRAD1, "   No Such Player");
                }
            }
            else
            {
                SendClientMessage(playerid, COLOR_GRAD1, "   Voce nгo e admin !!");
            }
        }
        return 1;
    }
Reply


Messages In This Thread
[Ajuda]Acho que e Bem simples[Erro] - by leandroak - 09.09.2011, 16:29
Re: [Ajuda]Acho que e Bem simples[Erro] - by Avalanche! - 09.09.2011, 16:31
Re: [Ajuda]Acho que e Bem simples[Erro] - by WLSF - 09.09.2011, 16:33
Re: [Ajuda]Acho que e Bem simples[Erro] - by ViniBorn - 09.09.2011, 16:37
Re: [Ajuda]Acho que e Bem simples[Erro] - by leandroak - 09.09.2011, 16:38
Re: [Ajuda]Acho que e Bem simples[Erro] - by array13 - 09.09.2011, 17:17
Re: [Ajuda]Acho que e Bem simples[Erro] - by Cristhian - 09.09.2011, 17:44
Re: [Ajuda]Acho que e Bem simples[Erro] - by leandroak - 09.09.2011, 19:19
Re: [Ajuda]Acho que e Bem simples[Erro] - by JonathanFeitosa - 09.09.2011, 19:26
Re: [Ajuda]Acho que e Bem simples[Erro] - by leandroak - 09.09.2011, 19:34

Forum Jump:


Users browsing this thread: 1 Guest(s)