keNN. Posted May 25, 2016 Report Share Posted May 25, 2016 Salut are cineva vreo idee cum asi putea sa fac comanda /fvr ca sa apara in chat-ul factiunii ? COMANDA: CMD:fvr(playerid, params[]) { if(playerVariables[playerid][pGroupRank] >= 5) { for(new car = 1; car <= 1300; car++) { if(vehicleVariables[car][vVehicleGroup] == playerVariables[playerid][pGroup]) { if(!IsVehicleOccupied(car)) { SetVehicleToRespawn(car); } } } SCM(playerid, COLOR_GREY, "{FF0000}FWarn: {FFFFFF}Faction vehicles respawned!"); } return 1; } Quote Link to comment Share on other sites More sharing options...
Mister Posted May 25, 2016 Report Share Posted May 25, 2016 Da aceasta este comanda fvr daca asta vrei sa iti confirmam, de care nu am auzit niciodata dar care vad ca este aceasi cu rfc(respawn faction cars) Ce vrea sa reprezinte acest topic inutil in discutii scripting? 1 Quote __ ____ __ / |/ (_)____/ /____ _____ / /|_/ / / ___/ __/ _ \/ ___/ / / / / (__ ) /_/ __/ / /_/ /_/_/____/\__/\___/_/ SERVICII SCRIPTING DE CALITATE Pagina Scripting pawn Link to comment Share on other sites More sharing options...
Jamal Alin Posted May 25, 2016 Report Share Posted May 25, 2016 Daca ai vreo functie care trimite un mesaj tututor membrilor dintr-un grup anume foloseste-o. Daca nu poti face tot cum faci si la spawnare masinilor respective. for(new i = 0; i < MAX_PLAYERS; i++) { if(playerVariables[pGroup] == playerVariables[playerid][pGroup]) { Mesajul } } Quote Cea mai sigura sursa de facut bani de buzunar in mediul virtual. Inregistreaza-te si pune-te pe treaba !!! http://www.viespar.ro/?reff=ab8e9d8086304d6136eac03c710238d7 Link to comment Share on other sites More sharing options...
keNN. Posted May 26, 2016 Author Report Share Posted May 26, 2016 10 hours ago, Mister said: Da aceasta este comanda fvr daca asta vrei sa iti confirmam, de care nu am auzit niciodata dar care vad ca este aceasi cu rfc(respawn faction cars) Ce vrea sa reprezinte acest topic inutil in discutii scripting? RTC si FVR este acelasi lucru. 6 hours ago, Jamal Alin said: Daca ai vreo functie care trimite un mesaj tututor membrilor dintr-un grup anume foloseste-o. Daca nu poti face tot cum faci si la spawnare masinilor respective. for(new i = 0; i < MAX_PLAYERS; i++) { if(playerVariables[pGroup] == playerVariables[playerid][pGroup]) { Mesajul } } O sa incerc. Dau edit daca merge. Quote Link to comment Share on other sites More sharing options...
Jamal Alin Posted May 26, 2016 Report Share Posted May 26, 2016 Sa pui si conditia if(IsPlayerConnected) in interiorul loop-ului ca eu am uitat. Quote Cea mai sigura sursa de facut bani de buzunar in mediul virtual. Inregistreaza-te si pune-te pe treaba !!! http://www.viespar.ro/?reff=ab8e9d8086304d6136eac03c710238d7 Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.