[Pomoc] Opis

Započeo R0x0r, Maj 19, 2012, 20:24:31 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 2 gostiju pregledaju ovu temu.



Skripta koju koristim: **RP
Detaljan opis problema: Kada izbrisem #if defined FILTERSCRIPT javlja ovo C:\Users\N\Desktop\City Life RolePlay v2.0\gamemodes\bcrp.pwn(121) : error 001: expected token: ";", but found "forward"
C:\Users\N\Desktop\City Life RolePlay v2.0\gamemodes\bcrp.pwn(131) : error 026: no matching "#if..."
C:\Users\N\Desktop\City Life RolePlay v2.0\gamemodes\bcrp.pwn(140) : error 026: no matching "#if..."
C:\Users\N\Desktop\City Life RolePlay v2.0\gamemodes\bcrp.pwn(166) : warning 219: local variable "gPlayerLogged" shadows a variable at a preceding level
C:\Users\N\Desktop\City Life RolePlay v2.0\gamemodes\bcrp.pwn(186) : warning 201: redefinition of constant/macro (symbol "pInfo")
C:\Users\N\Desktop\City Life RolePlay v2.0\gamemodes\bcrp.pwn(187) : error 021: symbol already defined: "pAdminLevel"
C:\Users\N\Desktop\City Life RolePlay v2.0\gamemodes\bcrp.pwn(191) : warning 219: local variable "PlayerInfo" shadows a variable at a preceding level
C:\Users\N\Desktop\City Life RolePlay v2.0\gamemodes\bcrp.pwn(191) : error 009: invalid array size (negative, zero or out of bounds)
C:\Users\N\Desktop\City Life RolePlay v2.0\gamemodes\bcrp.pwn(194) : warning 219: local variable "gPlayerLogged" shadows a variable at a preceding level
C:\Users\N\Desktop\City Life RolePlay v2.0\gamemodes\bcrp.pwn(237) : error 028: invalid subscript (not an array or too many subscripts): "pInfo"
C:\Users\N\Desktop\City Life RolePlay v2.0\gamemodes\bcrp.pwn(237) : warning 215: expression has no effect
C:\Users\N\Desktop\City Life RolePlay v2.0\gamemodes\bcrp.pwn(237) : error 001: expected token: ";", but found "]"
C:\Users\N\Desktop\City Life RolePlay v2.0\gamemodes\bcrp.pwn(237) : error 029: invalid expression, assumed zero
C:\Users\N\Desktop\City Life RolePlay v2.0\gamemodes\bcrp.pwn(237) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


9 Errors.

Dio skripte:
Neke slike/video za lakse dobivanje pomoci(neobavezno):
City Dragons Rol3Play(Hamachi server)

Join in the Hamachi room:

_____________________________________

Network name: CD.RP
Password: 123
               
                        ili

Network name: CD.RP2
Password: 123
_____________________________________
IP: 5.93.44.30:7777

****BUMP*
City Dragons Rol3Play(Hamachi server)

Join in the Hamachi room:

_____________________________________

Network name: CD.RP
Password: 123
               
                        ili

Network name: CD.RP2
Password: 123
_____________________________________
IP: 5.93.44.30:7777


C:\Users\N\Desktop\City Life RolePlay v2.0\gamemodes\bcrp.pwn(123) : error 001: expected token: ";", but found "enum"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


1 Error.


//ENUM

enum pInfo
{
    pAdminLevel,
    pCash,
    pLevel,
}
new PlayerInfo[MAX_PLAYERS][pInfo];
City Dragons Rol3Play(Hamachi server)

Join in the Hamachi room:

_____________________________________

Network name: CD.RP
Password: 123
               
                        ili

Network name: CD.RP2
Password: 123
_____________________________________
IP: 5.93.44.30:7777

Vegas.

//ENUM

enum pInfo
{
    pAdminLevel,
    pCash,
    pLevel,
};
new PlayerInfo[MAX_PLAYERS][pInfo];

Citat: [DV] Vegas. poslato Maj 19, 2012, 22:00:44 POSLE PODNE
//ENUM

enum pInfo
{
    pAdminLevel,
    pCash,
    pLevel,
};
new PlayerInfo[MAX_PLAYERS][pInfo];








isto
City Dragons Rol3Play(Hamachi server)

Join in the Hamachi room:

_____________________________________

Network name: CD.RP
Password: 123
               
                        ili

Network name: CD.RP2
Password: 123
_____________________________________
IP: 5.93.44.30:7777

vlado_plavsic

Pre toga ti je to.Zaboravio si da na kraj dodas ";" .

Ako nemozes da se snadjes daj 10 redova iznad te linje na kojoj baca error.

Rjeseno ovo je zezalo

new sendername[MAX_PLAYER_NAME]

trebalo je ici

new sendername[MAX_PLAYER_NAME];
City Dragons Rol3Play(Hamachi server)

Join in the Hamachi room:

_____________________________________

Network name: CD.RP
Password: 123
               
                        ili

Network name: CD.RP2
Password: 123
_____________________________________
IP: 5.93.44.30:7777