Andr3y Posted April 1, 2012 Report Share Posted April 1, 2012 Am incercat sa fac si eu zona la war dar nu merge deci: am pus la inceput new zonawar;apoi la OnGameModeInit am pus warzone = GangZoneCreate(1227.469, -1291.036, 1524.091, -1077.857); la on playerspawn GangZoneFlashForPlayer(playerid, warzone, COLOR_RED);apoi comanda if(strcmp(cmd, "/war", true) == 0) { GetPlayerName(playerid, sendername, sizeof(sendername)); if(IsPlayerConnected(playerid)) { if(WarDuty == 0) { if (PlayerInfo[playerid][pAdmin] >= 1337) { format(string, sizeof(string), "Warul a fost pornit de %s!", sendername); SendClientMessageToAll(0xFF7171FF, string); format(string, sizeof(string), " Ballas, Los Santos Vagos, The Mafia & Varrios Los Aztecas, Grove Street, The Triads"); SendClientMessageToAll(COLOR_GREEN, string); Alianta1 = 0; Alianta2 = 0; WarDuty = 1; GangZoneFlashForPlayer(playerid, warzone, COLOR_RED); for(new i = 0; i < MAX_PLAYERS; i++) { if(IsAMember(i)) { WarOn = 1; } } SetTimer("stopwar", 1800000,0); } else { SendClientMessage(playerid, COLOR_GRAD1, " Nu esti admin !"); } } else { SendClientMessage(playerid, COLOR_GRAD1, " Este deja War-ul pornit !"); } } return 1; }cam asta e... si la fel cu gangzoneflashforallsi cand dau /war nu se intampla nimic ...stie cineva ce trebuie sa fac? Link to comment Share on other sites More sharing options...
heker Posted April 1, 2012 Report Share Posted April 1, 2012 fati un sistem de debug si vezi care este problema de ce nu merge Link to comment Share on other sites More sharing options...
Andr3y Posted April 1, 2012 Author Report Share Posted April 1, 2012 da....nush cum:|:D Link to comment Share on other sites More sharing options...
IstuntmanI Posted April 1, 2012 Report Share Posted April 1, 2012 Nu ai folosit GangZoneShowForPlayer. Link to comment Share on other sites More sharing options...
Andr3y Posted April 1, 2012 Author Report Share Posted April 1, 2012 ba am folosit nu ai vazut mai sus? Link to comment Share on other sites More sharing options...
IstuntmanI Posted April 1, 2012 Report Share Posted April 1, 2012 ba am folosit nu ai vazut mai sus?Show, nu Flash. Citeste atent "ba". Link to comment Share on other sites More sharing options...
Andr3y Posted April 1, 2012 Author Report Share Posted April 1, 2012 eu vreau sa sclipeasca:| Link to comment Share on other sites More sharing options...
heker Posted April 1, 2012 Report Share Posted April 1, 2012 eu vreau sa sclipeasca:|si cum vrei daca nu ii faci Show sa se vada ? Link to comment Share on other sites More sharing options...
Andr3y Posted April 2, 2012 Author Report Share Posted April 2, 2012 deci la chestia asta sunt varza poate cineva sa imi faca dupa modelu de mai sus?da complet... Link to comment Share on other sites More sharing options...
Question
Andr3y
Am incercat sa fac si eu zona la war dar nu merge deci: am pus la inceput
apoi la OnGameModeInit am pus
la on playerspawn apoi comandacam asta e... si la fel cu gangzoneflashforall
si cand dau /war nu se intampla nimic ...stie cineva ce trebuie sa fac?
Link to comment
Share on other sites
8 answers to this question
Recommended Posts