Script Development
Help and requests for InfinityScript development.
245 тем в этом разделе
-
What is it? case "crate": split = split[1].Split(';'); if (split.Length < 2) continue; spawnCrate(parseVec3(split[0]), parseVec3(split[1])); break; case "ramp": split = split[1].Split(';'); if (split.Length < 2) continue; CreateRamp(parseVec3(split[0]), parseVec3(split[1])); break; case "elevator": split = split[1].Split(';'); if (split.Length < 2) c…
-
- 5 ответов
- 112 просмотра
- 1 follower
-
-
TestClient.TakeAllWeapons(); TestClient.GiveWeapon("???"); TestClient.SwitchImmadiatlyTo("???"); EDIT : didn't readed your hole post. I can , If I look at my Source... but I'm too lazy.
-
Hello my friends I see the game & seek plugin created by zxz0O0 This plugin works in search and destroy game type I think its more fun if it works in infect game type and at the first some one be a seeker an others be hiders And when a hider has been killed , he goes to seekers team The original plugin is in this topic Board index ‹ Projects ‹ IW5M ‹ Mods ‹ Script Releases I'm not allowed to post url :| that created by zxz0O0 I tried to convert it to inf mode but i have some problems and hope you help me to solve them. of course zxz0O0 allowed me to create this topic and convert his plugin I attached my project files Thanks for your …
-
- 1 ответ
- 114 просмотра
- 1 follower
-
-
A : Learn Programming B : Open Notepaid Paste the code save as QCZM.dll load the Script ???? profit But I suggest B.
-
- 7 ответов
- 137 просмотров
- 1 follower
-
-
i dont know why the people who make the mods or script's are so jealous when someone ask for the source code , some people dont understand the logic of who to code something.. so here's the code for the message's on screen i dont know who i should give the credits, so the credits go to the community, i guess using System; using System.Collections.Generic; using System.Linq; using System.Text; using InfinityScript; namespace messageS { public class messageS : BaseScript { private HudElem info; public messageS() : base() { PlayerConnected += new Action(entity => { info = HudElem.Creat…
-
- 11 ответов
- 1,3k просмотра
- 2 followers
-
-
Hi. I need your help for making kill player script. What codes should I add in this script? I want to make command which can kill player who I designate. For example, if I type command "!kill player1" , player1 will get killed. Thank you for your help. using System; using System.Collections.Generic; using System.Linq; using System.Text; using InfinityScript; namespace TeachWeapon { public class TeachWeapon : BaseScript { public TeachWeapon() : base() { PlayerConnected += new Action(entity => { Call("setdvar", "motd", "test"); }); } public override vo…
-
why when you attack the door, I do not see hp door?
-
hi all how i can use notify bomb dropped and bomb toked ???!!
-
- 15 ответов
- 258 просмотров
- 1 follower
-
-
where do I find qczm code? or tell me how to shop?
-
- 3 ответа
- 101 просмотр
- 1 follower
-
-
Hi. Is there a way to spawn solid model? Thanks for your help. Entity Spawn_Solid_Model = Call("spawn", "script_model", new Parameter(new Vector3(93.36785f, -47.53401f, 3400.4635f))); Spawn_Solid_Model.Call("setModel", "vehicle_little_bird_armed");
-
- 8 ответов
- 219 просмотров
- 1 follower
-
-
-
Hi guys, I have set up a bot server and close to open to the public. But can anyone help me to write scripts/command (whatever) to: 1. Force joined players to either side so i can spawn bots on the other side 2. I know there's a glitch in the kenshin bot mod that put bots in spectator in the next round. Is there any command to kick the bots ONLY and leave those joined players in the server (kick all would just kick every1, including me ) Thanks!
-
- 6 ответов
- 363 просмотра
- 1 follower
-
-
viewtopic.php?f=40&t=15792 is it possible to make so that walking ac130 appearing in the mode of infection after 100 kills? If possible then tell me how to do it? warned for double-posting
-
- 5 ответов
- 178 просмотров
- 1 follower
-
-
how can I do so that the script included a killstreak. give code for example: I have killed 100 people and I joined here this script viewtopic.php?f=40&t=13886 or this viewtopic.php?f=40&t=15792
-
- 1 ответ
- 75 просмотров
- 1 follower
-
-
hi when i use entity.Call("suicide"); server will crash why??!!
-
- 7 ответов
- 170 просмотров
- 1 follower
-
-
Hi, Sometimes a player gets first infected for two consecutive rounds. Sometimes for three O_O This doesn't happen all the time but it's very frustrating. How to switch team for a player if he gets first infected a second time consecutively? (switching first infected to other team should activate the timer that picks a new first infected or not?). Find first infected and put his name/xuid in a dvar Next round, find the first infected if he is the same, switch him to allies team Find first infected and put his name/xuid in a dvar etc.. To find first infected OnInterval(2000, ....) check if there's only one player in axis team and at least one player in allies…
-
- 1 ответ
- 118 просмотров
-
-
how i cant get players team??? like if(sa3id.Call("sessionteam") == "axis") { string test = "axis 1"; } help please
-
My server crash after working for about an hour or two. Sometimes it throws error message like this: Other times, just crash without any notification. I checked InfinityScript.log and game_mp.log nothing strange in both of them. The question is.. how to trace the cause of the crashing?
-
namespace InfinityScript.Examples { using InfinityScript; using System; public class namesv1 : BaseScript { public namesv1() { base.Call("setDvar", new Parameter[] { "g_teamname_allies", "^1-^0[^4TG^0]^1-^2Clan" }); base.Call("setDvar", new Parameter[] { "g_teamname_axis", "^2Visitantes" }); base.PlayerConnected += delegate (Entity entity) { entity.SetClientDvar("g_teamname_allies", "^1-^0[^4TG^0]^1-^2Clan"); entity.SetClientDvar("g_teamname_axis", "^2Visitantes"); }; } } } By Tonejo
-
- 46 ответов
- 3,8k просмотров
- 1 follower
-
-
Give me a code how to put the picture?) And then I forgot .. thanks in advance)
-
- 6 ответов
- 152 просмотра
- 1 follower
-
-
So I tried to put my server into slow motion with this line of code: Call("SetSlowMotion", 0.5f, 1.5f, 1f); But it doesn't seem to do anything. Does it have another purpose or am I doing something wrong here?
-
- 6 ответов
- 184 просмотра
- 1 follower
-
-
How to get the current used .dsr filename in InfinityScript?
-
- 6 ответов
- 165 просмотров
-
-
I tried this, but not work: player.Notify("playerkilled", player , attacker, attacker, 555555, dFlags, "MOD_HEAD_SHOT", weapon, point, dir, hitLoc);
-
- 11 ответов
- 217 просмотров
- 1 follower
-
-
Hi! I have a slight problem with getting the ping of clients. For me, the Ping field on the player entities returns either 0 or something ridiculously high (for example it's over 2 billion sometimes). The only thing i found about this on the forum was that i shouldn't set cl_maxpackets to 100 (should set it to 30 instead), because it could cause problems like this. However, i didn't modify the cl_maxpackets, i double-checked it to be sure, but it's 30. Any ideas?
-
how do I do this? what I highlighted with a red square can you give me the code please