Having Error with ZCMD
#1

Here is my code:

PHP код:
public OnPlayerCommandText(playeridcmdtext[])
{
    
CMD:commands(playeridcmdtext[])      ( Line 71 )
    {
        
SendClientMessage(playeridCOLOR_YELLOW "Elite Gaming Server Commands");
        return 
1;
    }
    return 
0;

Here is the Error:

PHP код:
C:\Users\xavie\PmG Script\gamemodes\Scratch.pwn(71) : error 029invalid expressionassumed zero
C
:\Users\xavie\PmG Script\gamemodes\Scratch.pwn(71) : error 017undefined symbol "cmd_commands"
C:\Users\xavie\PmG Script\gamemodes\Scratch.pwn(71) : error 029invalid expressionassumed zero
C
:\Users\xavie\PmG Script\gamemodes\Scratch.pwn(71) : fatal error 107too many error messages on one line
Compilation aborted
.Pawn compiler 3.2.3664              Copyright (c1997-2006ITB CompuPhase
4 Errors

I see nothing wrong "I'm a newbie scripter"
Reply
#2

Put it out of the callback. Delete OnPlayerCommandText.
Reply
#3

Thanks It worked + rep
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)