Niki 1 Odesláno: 23. Prosinec, 2013 Share Odesláno: 23. Prosinec, 2013 Ahojte, Hľadám nieaky sneh system ale aby Admin zapol sneh a padal by každému. V google som nenašiel.... Link to comment Share on other sites More sharing options...
The hidden face 77 Odesláno: 23. Prosinec, 2013 Share Odesláno: 23. Prosinec, 2013 Nevím zda to funguje ,ale tu je nějaký : http://pastebin.com/Dw7f4PCB Link to comment Share on other sites More sharing options...
LINE UP 0 Odesláno: 23. Prosinec, 2013 Share Odesláno: 23. Prosinec, 2013 ffredyk tu dávnejšie niečo postoval ale budeš si to musieť poupravovať. Link to comment Share on other sites More sharing options...
Niki 1 Odesláno: 23. Prosinec, 2013 Author Share Odesláno: 23. Prosinec, 2013 Nevím zda to funguje ,ale tu je nějaký : http://pastebin.com/Dw7f4PCB Neide Link to comment Share on other sites More sharing options...
The hidden face 77 Odesláno: 23. Prosinec, 2013 Share Odesláno: 23. Prosinec, 2013 Ja si to zkousim upravovat zmenil jsem si to na dcmd ,ale příkazy ve hře taky nešly nevím co s tím je... Link to comment Share on other sites More sharing options...
Niki 1 Odesláno: 23. Prosinec, 2013 Author Share Odesláno: 23. Prosinec, 2013 Keby že ti to ide alebo máš nieaky iný tak napíš. Link to comment Share on other sites More sharing options...
The hidden face 77 Odesláno: 23. Prosinec, 2013 Share Odesláno: 23. Prosinec, 2013 Tady je funkční od ffredyka : #include <a_samp> #define MP 50 new bool:Snowing; new Snow[MP]; public OnPlayerCommandText(playerid, cmdtext[]) { if (strcmp("/snih", cmdtext, true, 10) == 0) { SetWeather(9); StartSnowing(); return 1; } return 0; } public OnPlayerConnect(playerid) { if(Snowing) { new Float:X,Float:Y,Float:Z; GetPlayerPos(playerid,X,Y,Z); Snow[playerid] = CreatePlayerObject(playerid,18864,X,Y,floatsub(Z,50.0),0,0,0); } } stock StartSnowing() { new Float:X,Float:Y,Float:Z; Snowing = true; for(new i;i<MP;i++) { GetPlayerPos(i,X,Y,Z); Snow[i] = CreatePlayerObject(i,18864,X,Y,floatsub(Z,50.0),0,25,-135); } SetTimer("UpdateSnow",1000,0); } stock StopSnowing() { Snowing = false; for(new i;i<MP;i++) { DestroyPlayerObject(i,Snow[i]); } } forward UpdateSnow(); public UpdateSnow() { if(Snowing) { new Float:X,Float:Y,Float:Z; for(new i;i<MP;i++) { GetPlayerPos(i,X,Y,Z); SetPlayerObjectPos(i,Snow[i],X,Y,floatsub(Z,50.0)); } SetTimer("UpdateSnow",1000,0); } } Link to comment Share on other sites More sharing options...
Niki 1 Odesláno: 23. Prosinec, 2013 Author Share Odesláno: 23. Prosinec, 2013 Tady je funkční od ffredyka : #include <a_samp> #define MP 50 new bool:Snowing; new Snow[MP]; public OnPlayerCommandText(playerid, cmdtext[]) { if (strcmp("/snih", cmdtext, true, 10) == 0) { SetWeather(9); StartSnowing(); return 1; } return 0; } public OnPlayerConnect(playerid) { if(Snowing) { new Float:X,Float:Y,Float:Z; GetPlayerPos(playerid,X,Y,Z); Snow[playerid] = CreatePlayerObject(playerid,18864,X,Y,floatsub(Z,50.0),0,0,0); } } stock StartSnowing() { new Float:X,Float:Y,Float:Z; Snowing = true; for(new i;i<MP;i++) { GetPlayerPos(i,X,Y,Z); Snow[i] = CreatePlayerObject(i,18864,X,Y,floatsub(Z,50.0),0,25,-135); } SetTimer("UpdateSnow",1000,0); } stock StopSnowing() { Snowing = false; for(new i;i<MP;i++) { DestroyPlayerObject(i,Snow[i]); } } forward UpdateSnow(); public UpdateSnow() { if(Snowing) { new Float:X,Float:Y,Float:Z; for(new i;i<MP;i++) { GetPlayerPos(i,X,Y,Z); SetPlayerObjectPos(i,Snow[i],X,Y,floatsub(Z,50.0)); } SetTimer("UpdateSnow",1000,0); } } Chcel som aby admin dal /allsnowon a aby každému snežilo. Toto aj tak nejde lebo to bude búrka nie sneh. Link to comment Share on other sites More sharing options...
The hidden face 77 Odesláno: 23. Prosinec, 2013 Share Odesláno: 23. Prosinec, 2013 Chcel som aby admin dal /allsnowon a aby každému snežilo. Toto aj tak nejde lebo to bude búrka nie sneh. A jak víš ,že to nesněží každému? Podle mě ano... Link to comment Share on other sites More sharing options...
DominusKristus 0 Odesláno: 23. Prosinec, 2013 Share Odesláno: 23. Prosinec, 2013 Tady je funkční od ffredyka : Danlaputt vieš my poradiť kde by som nadstavil tu rýchlosť vločiek ... a ešte príkaz na vypnutie sneženia ? Link to comment Share on other sites More sharing options...
The hidden face 77 Odesláno: 23. Prosinec, 2013 Share Odesláno: 23. Prosinec, 2013 Danlaputt vieš my poradiť kde by som nadstavil tu rýchlosť vločiek ... a ešte príkaz na vypnutie sneženia ? Juknu se na to ale nevím Ale autor doporučuje ponechat nastavení co se týče sněhu jako je třeba i ta rychlost aby to nedělalo nějaký chyby třeba. Link to comment Share on other sites More sharing options...
Frajtr 8 Odesláno: 23. Prosinec, 2013 Share Odesláno: 23. Prosinec, 2013 attachni object sněhu na hráče nejlépe 3 attachy s rúznýma rotacema ale pozor na snížení fps Link to comment Share on other sites More sharing options...
DominusKristus 0 Odesláno: 23. Prosinec, 2013 Share Odesláno: 23. Prosinec, 2013 Pozeral som na wikine SetPlayerAttachedObject videl som to prvý krát, ak by niekto pomohol nacodovať vypnutie a zmenenie rotácie snehu tak by som bol veľmi vďačný a ďalší server zasnežený Link to comment Share on other sites More sharing options...
Vion 0 Odesláno: 23. Prosinec, 2013 Share Odesláno: 23. Prosinec, 2013 http://forum.sa-mp.com/showthread.php?t=297588 tu je aj ten sneh a pár debilovin Link to comment Share on other sites More sharing options...
The hidden face 77 Odesláno: 23. Prosinec, 2013 Share Odesláno: 23. Prosinec, 2013 http://forum.sa-mp.com/showthread.php?t=297588 tu je aj ten sneh a pár debilovin Vion nedala by jsi sem ten kod? Mě to nejde stahnout Link to comment Share on other sites More sharing options...
PinkSmoothie 104 Odesláno: 23. Prosinec, 2013 Share Odesláno: 23. Prosinec, 2013 Juknu se na to ale nevím Ale autor doporučuje ponechat nastavení co se týče sněhu jako je třeba i ta rychlost aby to nedělalo nějaký chyby třeba. rychlost nemozes nastavit vobec tak nekecaj somariny. je to pohybujuci objekt. Link to comment Share on other sites More sharing options...
The hidden face 77 Odesláno: 23. Prosinec, 2013 Share Odesláno: 23. Prosinec, 2013 rychlost nemozes nastavit vobec tak nekecaj somariny. je to pohybujuci objekt. Já vím na to sem už přišel však mu mu poslal kód jen s tím aby mohl zastavit sníh. Link to comment Share on other sites More sharing options...
DominusKristus 0 Odesláno: 23. Prosinec, 2013 Share Odesláno: 23. Prosinec, 2013 Dandyss ešte raz vďaka Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now