Addict Posted April 17, 2016 Posted April 17, 2016 Buna seara, scuzati-mi deranjul, dar am o intrebare . Cum asa putea sa pun o melodie ( sau mai multe) pe server-ul de samp , sa se auda la toti playerii, printr-o comanda ? ..
NEGATiWE. Posted April 17, 2016 Posted April 17, 2016 Spoiler CMD:playforall(playerid, params[]) { if(PlayerInfo[playerid][pAdmin] >= 1) { new link[256]; if(sscanf(params, "s[256]", link)) return SCM(playerid, -1, "Syntax: /playforall [link]"); foreach(Player, x) { StopAudioStreamForPlayer(x); PlayAudioStreamForPlayer(x, link); } } return 1; } stock IsMonth31(month) { switch (month) { case 1: return 1; case 3: return 1; case 5: return 1; case 7: return 1; case 8: return 1; case 10: return 1; case 12: return 1; default: return 0; } return 0; } stock IsMonth29(year) { new y = 2000; for(new i = 4; i < 3000; i += 4) if ((y+i) == year) return 1; return 0; }
Recommended Posts