Jump to content

Question

Posted

Salut SA-MP deci am cateva erori:

Uitati-va am definit asta:

[pawn]

#define PING_MAX_EXCEEDS (3)

[/pawn]

Si iata ca am eroare nush de ce zice ca nu e definit :-?

[pawn]

error 017: undefined symbol "PING_MAX_EXCEEDS"

[/pawn]

2

Si iata inca ceva am definit asta:

[pawn]

PlayerInfo[ playerid ][gNameTags ] = 1;

[/pawn]

Asa am definit:

[pawn]

new gNameTags[ MAX_PLAYERS ];

[/pawn]

Si nu shtiu de ce imi arata asta:

[pawn]

error 033: array must be indexed (variable "gNameTags")

[/pawn]

                                       

3

Si ultima definitie la care am problema, asta:

[pawn]

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

[/pawn]

Si cu erorile astea

[pawn]

warning 217: loose indentation

warning 215: expression has no effect

error 001: expected token: ";", but found "["

error 029: invalid expression, assumed zero

error 017: undefined symbol "i"

fatal error 107: too many error messages on one line

[/pawn]

Ajutati-ma va rog

1 answer to this question

Recommended Posts

Posted

PlayerInfo[ playerid ][gNameTags ] = 1;

trebuie sters PlayerInfo .

foreach(new i: Player ) PlayerInfo[ playerid ][ pPing ][ i ] = 0; ( sper sa ai foreach in pawno/includes/ xD )

ce ar face PING_MAX_EXCEEDS ? pune fara ()

idiots.png
Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.