How Define these Linie?
#1

Hello I have a problem with an Linie :
Quote:

for ( new i; i < PING_MAX_EXCEEDS; i++ ) PlayerInfo[ playerid ][ pPing ][ i ] = 0;

And Gives me these:
Quote:

C:\Users\xxx\Desktop\TREB reparate\RAS.pwn(150) : error 017: undefined symbol "PING_MAX_EXCEEDS"
C:\Users\xxx\Desktop\TREB reparate\xx.pwn(150) : warning 215: expression has no effect
C:\Users\xxx\Desktop\TREB reparate\xx.pwn(150) : error 001: expected token: ";", but found "["
C:\Users\xxx\Desktop\TREB reparate\xx.pwn(150) : error 029: invalid expression, assumed zero
C:\Users\xxx\Desktop\TREB reparate\xx.pwn(150) : fatal error 107: too many error messages on one line

ON:I need to define only PING_MAX_EXCEEDS, pPing i have defined..
Sorry for my ENGLISH..:d
Reply
#2

You must define PING_MAX_EXCEEDS
pawn Код:
// At the top
#define PING_MAX_EXCEEDS        1000
// 1000 or whatever

// At your script

for ( new i; i < PING_MAX_EXCEEDS; i++ )
{
    PlayerInfo[ playerid ][ pPing ][ i ] = 0;
}

// But I don't see what you want to do with this script...
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)