Problema intalnita (descriere):Am bagat job-ul lui Edw de distribuitor de cadouri si am o mica eroare Ero(area / rile) / warning-(ul / urile):C:\Users\User\Desktop\BETA\samp03\gamemodes\gamemode.pwn(165) : warning 201: redefinition of constant/macro (symbol "COLOR_LIGHTGREEN")
C:\Users\User\Desktop\BETA\samp03\gamemodes\gamemode.pwn(231) : error 029: invalid expression, assumed zero
C:\Users\User\Desktop\BETA\samp03\gamemodes\gamemode.pwn(231) : warning 215: expression has no effect
C:\Users\User\Desktop\BETA\samp03\gamemodes\gamemode.pwn(231) : error 001: expected token: ";", but found "]"
C:\Users\User\Desktop\BETA\samp03\gamemodes\gamemode.pwn(231) : error 029: invalid expression, assumed zero
C:\Users\User\Desktop\BETA\samp03\gamemodes\gamemode.pwn(231) : fatal error 107: too many error messages on one line
Liniile de cod / sursa / script-ul(obligatoriu):
public jobCheck() {
new string[256];
for(new i = 0; i < MAX_PLAYERS; i++) {
if(IsPlayerConnected(i)) {
if(Timer >= 1) {
Timer --;
format(string, sizeof(string), "~y~Gift Distributor~w~~h~~n~You have %d seconds until you enter the vehicle.", Timer);
PlayerTextDrawSetString(i, InfoTD, string);
PlayerTextDrawShow(i, InfoTD);
if(Timer == 0) {
Timer = -1;
JobFailed(i);
PlayerTextDrawHide(i, InfoTD);
}
}
}
}
return 1;
}
linia 231 e if(Timer >= 1) {
Imagini / Video (optional):.. Ati incercat sa rezolvati singur?:Da
Question
ValyYellow
Problema intalnita (descriere):Am bagat job-ul lui Edw de distribuitor de cadouri si am o mica eroare
Ero(area / rile) / warning-(ul / urile):C:\Users\User\Desktop\BETA\samp03\gamemodes\gamemode.pwn(165) : warning 201: redefinition of constant/macro (symbol "COLOR_LIGHTGREEN")
C:\Users\User\Desktop\BETA\samp03\gamemodes\gamemode.pwn(231) : error 029: invalid expression, assumed zero
C:\Users\User\Desktop\BETA\samp03\gamemodes\gamemode.pwn(231) : warning 215: expression has no effect
C:\Users\User\Desktop\BETA\samp03\gamemodes\gamemode.pwn(231) : error 001: expected token: ";", but found "]"
C:\Users\User\Desktop\BETA\samp03\gamemodes\gamemode.pwn(231) : error 029: invalid expression, assumed zero
C:\Users\User\Desktop\BETA\samp03\gamemodes\gamemode.pwn(231) : fatal error 107: too many error messages on one line
Liniile de cod / sursa / script-ul(obligatoriu):
public jobCheck() {
new string[256];
for(new i = 0; i < MAX_PLAYERS; i++) {
if(IsPlayerConnected(i)) {
if(Timer >= 1) {
Timer --;
format(string, sizeof(string), "~y~Gift Distributor~w~~h~~n~You have %d seconds until you enter the vehicle.", Timer);
PlayerTextDrawSetString(i, InfoTD, string);
PlayerTextDrawShow(i, InfoTD);
if(Timer == 0) {
Timer = -1;
JobFailed(i);
PlayerTextDrawHide(i, InfoTD);
}
}
}
}
return 1;
}
linia 231 e if(Timer >= 1) {
Imagini / Video (optional):..
Ati incercat sa rezolvati singur?:Da
Link to comment
Share on other sites
2 answers to this question
Recommended Posts