invalid function or declaration
#1

Hi guys,

what's wrong with it? I'm getting error 010: invalid function or declaration
pawn Код:
stock SendMessageToGang( gangID, COLOR, msg[ ] ) // here is error
{
    for( new i; i < MAX_PLAYERS; i++ )
    {
        if( IsPlayerConnected( i ) && variable[ i ][ var ] == gangID )
        {
            SendClientMessage( i, COLOR, msg );
        }
    }
}
Reply
#2

color is not integer its hex, so change COLOR to COLOR[]
Reply
#3

No, you are wrong - color is hex, hex is integer.
I fixed it...
Reply
#4

yea, you are right i could use a ****** :P what was error?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)