Strange Error
#1

Guyz Can Anyone Help me with this problem? i felt this problem strange

Код:
C:\Users\GMZeus\Desktop\Cops Robbers Project Back Up\strcmp_command.pwn(150) : error 017: undefined symbol "string"
C:\Users\GMZeus\Desktop\Cops Robbers Project Back Up\strcmp_command.pwn(150) : error 017: undefined symbol "string"
C:\Users\GMZeus\Desktop\Cops Robbers Project Back Up\strcmp_command.pwn(151) : error 017: undefined symbol "otherplayer"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


3 Errors.
This Is The Command I Tryed To Insert

Код:
if(strcmp(cmdtext, "/setscore", true) == 0)
    {
        new sendername[MAX_PLAYER_NAME];
        new tmp[256];
        new tmp2[256];
        new givenplayer = strval(tmp);
        new score = strval(tmp2);
        if(!strlen(tmp)) return SendClientMessage(playerid, COLOR_YELLOW, "USAGE: /setscore [playerid] [Score]");
        SetPlayerScore(givenplayer,score);
        GetPlayerName(playerid,sendername, sizeof(sendername));
        format(string,sizeof string,"Admin %s Has set your score to %d ",sendername,score);
        SendClientMessage(otherplayer, COLOR_GREEN, string);
        return 1;
    }
Can Someone Help Me Pls!
Reply


Messages In This Thread
Strange Error - by Patrick - 02.10.2012, 16:31
Re: Strange Error - by Red_Dragon. - 02.10.2012, 16:34
Re: Strange Error - by gtakillerIV - 02.10.2012, 16:36
Re: Strange Error - by Patrick - 02.10.2012, 16:37

Forum Jump:


Users browsing this thread: 1 Guest(s)