Dzie? dobry, posiadam taki problem na swoim serwerze, ?e jak jedzie si? drog? na Idlewood (przewa?nie) to pokazuj? si? warningi, kt?re s? przedstawione na dole.Wie kto? jak to naprawi??
Warningi :
[code]C:UsersIGDesktopitsp.pwn(2552) : error 029: invalid expression, assumed zero
C:UsersIGDesktopitsp.pwn(2956) : warning 219: local variable "PlayerName" shadows a variable at a preceding level
C:UsersIGDesktopitsp.pwn(9837) : warning 219: local variable "PlayerName" shadows a variable at a preceding level
C:UsersIGDesktopitsp.pwn(10488) : warning 202: number of arguments does not match definition
C:UsersIGDesktopitsp.pwn(10489) : warning 202: number of arguments does not match definition
C:UsersIGDesktopitsp.pwn(12755) : warning 219: local variable "PlayerName" shadows a variable at a preceding level
C:UsersIGDesktopitsp.pwn(12768) : warning 219: local variable "PlayerName" shadows a variable at a preceding level
C:UsersIGDesktopitsp.pwn(12785) : warning 219: local variable "PlayerName" shadows a variable at a preceding level
C:UsersIGDesktopitsp.pwn(12800) : warning 219: local variable "PlayerName" shadows a variable at a preceding level
C:UsersIGDesktopitsp.pwn(12826) : warning 203: symbol is never used: "MAX_PLAYERS_"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
Witam mam problem zrobi?em sobie ?wiatla na klawis oraz odpalanie silnika , i teraz mam takie Warningi , i chcia?bym je usun? oto one:
[code]warning 219: local variable "engine" shadows a variable at a preceding level
warning 219: local variable "lights" shadows a variable at a preceding level
warning 219: local variable "alarm" shadows a variable at a preceding level
warning 219: local variable "doors" shadows a variable at a preceding level
warning 219: local variable "bonnet" shadows a variable at a preceding level
warning 219: local variable "boot" shadows a variable at a preceding level
warning 219: local variable "objective" shadows a variable at a preceding level
warning 219: local variable "engine" shadows a variable at a preceding level
warning 219: local variable "lights" shadows a variable at a preceding level
warning 219: local variable "alarm" shadows a variable at a preceding level
warning 219: local variable "doors" shadows a variable at a preceding level
warning 219: local variable "bonnet" shadows a variable at a preceding level
warning 219: local variable "boot" shadows a variable at a preceding level
warning 219: local variable "objective" shadows a variable at a preceding level
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
Je?li w tych linijkach zamiast ScoreZaDowoz i KasaZaDowoz wpisz? liczb? na sztywno, np. 500 to wszystko jest ok.
Da si? jako? tak zastosowa? te fukcje aby dodawa?y warto?? z np. zmiennej "ScoreZaDowoz" ?
C:UsersRodzinkaDesktopservergamemodesFullDM.pwn(3135) : error 001: expected token: "-string end-", but found "-identifier-"
C:UsersRodzinkaDesktopservergamemodesFullDM.pwn(3135) : warning 215: expression has no effect
C:UsersRodzinkaDesktopservergamemodesFullDM.pwn(3135) : error 001: expected token: ";", but found ")"
C:UsersRodzinkaDesktopservergamemodesFullDM.pwn(3135) : error 029: invalid expression, assumed zero
C:UsersRodzinkaDesktopservergamemodesFullDM.pwn(3135) : fatal error 107: too many error messages on one line
Cze??, mam problem powiedzcie o co mi chodzi, mam takie warningi
C:UsersUserDesktopsamp03dsvr_win32samp03dsvr_win32gamemodesaa.pwn(13299) : warning 224: indeterminate array size in "sizeof" expression (symbol "")
C:UsersUserDesktopsamp03dsvr_win32samp03dsvr_win32gamemodesaa.pwn(13310) : warning 202: number of arguments does not match definition
Kod linijka 13310
CMD:astop(playerid, params[])
{
if(AnimkaPostrzal[playerid]==1)return Tip(playerid, "Nie mo?esz w tej chwili u?y? tej komendy.");
ClearAnimations(playerid);
return 1;
}