Jump to content

[REZOLVAT] Cum editez...


CRISTIANN
 Share

Recommended Posts

In comanda de atac este aceasta verificare, poti modifica de acolo.

Respecta si vei fi respectat.

 

BigInt Pawn:

Pacman C++: 

Snake C++:

Minesweeper C++:

 

mattbb.cash

leaks.ro

Link to comment
Share on other sites

pai nu da nici o eroare se salveaza tot dar cand intru pe sv si vrea cnv sa dea /attack ii zice ca nu se poate da attack dar orele sunt puse corect

Acum lasa si cod....

Respecta si vei fi respectat.

 

BigInt Pawn:

Pacman C++: 

Snake C++:

Minesweeper C++:

 

mattbb.cash

leaks.ro

Link to comment
Share on other sites

new hour,minute,second, year, month, day;

gettime(hour,minute,second);

getdate(year, month, day);

new days[180];

format(days, sizeof(days), GetWeekDay(day, month, year));

if(PlayerInfo[playerid][pAdmin] < 7) {

if(strcmp(days,"Saturday",true) == 0 || strcmp(days,"Sunday",true) == 0) return SCM(playerid, COLOR_LIGHTRED, "Nu se dau war-uri in weekend!");

if(hour == 16 || hour == 23if(hour == 13 || hour == 14) {}

else return SCM(playerid, COLOR_LIGHTRED, "War-uri se pot da doar in intervalul 16:00 - 23:00!");

if(GetFactionMembersOn2(PlayerInfo[playerid][pMember]) < 2) return SCM(playerid, COLOR_LGREEN, "Nu poti folosi aceasta comanda deoarece nu sunt minim 3 membri conectati din factiunea ta!");

if(GetFactionMembersOn2(TurfInfo[turf][zOwned]) < 2) return SCM(playerid, COLOR_LGREEN, "Nu poti folosi aceasta comanda deoarece nu sunt minim 3 membri conectati din factiunea care detine teritoriul!");

}

Link to comment
Share on other sites

if(hour == 16 || hour == 23if(hour == 13 || hour == 14) {}
else return SCM(playerid, COLOR_LIGHTRED, "War-uri se pot da doar in intervalul 16:00 - 23:00!");

Chestia asta nu are sens. Inlocuieste-o cu:

if(hour < 16 || hour > 23) return SCM(playerid, COLOR_LIGHTRED, "War-uri se pot da doar in intervalul 16:00 - 23:00!");
Edited by iMatt

Respecta si vei fi respectat.

 

BigInt Pawn:

Pacman C++: 

Snake C++:

Minesweeper C++:

 

mattbb.cash

leaks.ro

Link to comment
Share on other sites

 

if(hour == 16 || hour == 23if(hour == 13 || hour == 14) {}
else return SCM(playerid, COLOR_LIGHTRED, "War-uri se pot da doar in intervalul 16:00 - 23:00!");

Chestia asta nu are sens. Inlocuieste-o cu:

if(hour < 16 || hour > 23) return SCM(playerid, COLOR_LIGHTRED, "War-uri se pot da doar in intervalul 16:00 - 23:00!");

ms de ajutor

 

Rezolvat

 

rog t/c

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

  • Recently Browsing   0 members

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