It's working perfectly now! Thank you very much!Odex64 wrote: ↑Mon Mar 15, 2021 5:05 pmAh, I forgot to add another parhentesis, it should beCode: Select all
IPlayer hitPlayer = Game.GetPlayer(int.Parse(((IObject)args.Caller).CustomId));
Dear forum users! In compliance with the new European GDPR regulations, we'd just like to inform you that if you have an account, your email address is stored in our database. We do not share your information with third parties, and your email address and password are encrypted for security reasons.
New to the forum? Say hello in this topic! Also make sure to read the rules.
New to the forum? Say hello in this topic! Also make sure to read the rules.
Search found 21 matches
- Mon Mar 15, 2021 5:12 pm
- Forum: Superfighters Deluxe ScriptAPI
- Topic: (Script Problem) Working with multiple players at once
- Replies: 4
- Views: 2867
- Gender:
Re: (Script Problem) Working with multiple players at once
- Mon Mar 15, 2021 4:57 pm
- Forum: Superfighters Deluxe ScriptAPI
- Topic: (Script Problem) Working with multiple players at once
- Replies: 4
- Views: 2867
- Gender:
Re: (Script Problem) Working with multiple players at once
The script doesn't work because you have a global variable for the killed players. You can fix it by passing the player's uniqueId in the timer's customId, and get the current player in PlayAnimation() and KillPlayer() with Game.GetPlayer(int.Parse((IObject)args.Caller).CustomId); If you still enco...
- Mon Mar 15, 2021 6:57 am
- Forum: Superfighters Deluxe ScriptAPI
- Topic: (Script Problem) Working with multiple players at once
- Replies: 4
- Views: 2867
- Gender:
(Script Problem) Working with multiple players at once
So, I was making a script that allows any player with a katana kill a player instantly, in a cool way, like in a movie. The problem that I have is that my script doesn't want to work with multiple kills in a short time, because if I hit another player while other haven't died yet, the script switche...
- Tue Dec 04, 2018 12:55 pm
- Forum: Superfighters Deluxe Ideas and Suggestions
- Topic: Small Suggestions topic
- Replies: 496
- Views: 269589
- Gender:
Re: Small Suggestions topic
Insulting people is bad... but enforcing a restricted chat amongst all players is a god awful idea Oh, I apologize if I caused a misunderstanding. At the moment I'm not talking about chat. I suggested to add a filter only for the server names all the time, that's all! Restricting the chat is the ba...
- Tue Dec 04, 2018 10:38 am
- Forum: Superfighters Deluxe Ideas and Suggestions
- Topic: Small Suggestions topic
- Replies: 496
- Views: 269589
- Gender:
Re: Small Suggestions topic
Please don’t turn this game into an SJW Safe space. This is a game where you shoot and kill people with blood spattering everywhere. If your goal is to make this game child friendly then this is the wrong game. The devs can’t control what people say, the people will always know how to curse by addi...
- Tue Dec 04, 2018 10:14 am
- Forum: Superfighters Deluxe Problems and Bugs
- Topic: Servers are working on the hacked version
- Replies: 14
- Views: 9164
- Gender:
Re: Servers are working on the hacked version
Some letters can't be displayed properly in the account name due to the in-game font. The "?" is just a replacement character for chars that can't be shown. Okay, but problem is still here :(. But this screenshot still shows how a non-steam player looks in the game ;). Other way we we can verify th...
- Mon Dec 03, 2018 12:39 pm
- Forum: Superfighters Deluxe Ideas and Suggestions
- Topic: Small Suggestions topic
- Replies: 496
- Views: 269589
- Gender:
Re: Small Suggestions topic
My little suggestion is to limit the activity of games with offensive, abusive, humiliating, inducing to action in real life ( or something like that ) names. And also names which are meaningless ( like "asdjhfqgwyetqwieu" ) You can add filter of forbidden words or just ban the server for breaking t...
- Mon Dec 03, 2018 12:21 pm
- Forum: Superfighters Deluxe Ideas and Suggestions
- Topic: More tricks for bots!
- Replies: 3
- Views: 2838
- Gender:
More tricks for bots!
BOTS . I like this feature a lot, sometimes it's even more fun playing with bots instead of real players. But they still can't replace players. I'm sure they never will. But I have a suggestion with which you will get even more fun experience! The thing is: I've been playing with bots all day, and ...
- Mon Dec 03, 2018 9:40 am
- Forum: Superfighters Deluxe Problems and Bugs
- Topic: Servers are working on the hacked version
- Replies: 14
- Views: 9164
- Gender:
Servers are working on the hacked version
Well, It had to happen. SFD got hacked like every other game that releases on Steam. And one would think: "So what? They don't have what we have. Let these losers play with bots, nothing else." My friend tested it out and we figured out a problem. They CAN play in multiplayer with other people on th...
- Sun Nov 25, 2018 4:41 pm
- Forum: Answered ScriptAPI Topics
- Topic: [REQUEST] Rainbow man!
- Replies: 3
- Views: 2948
- Gender:
Re: [REQUEST] Rainbow man!
I think I understand what you wanted now? //This affects the rate of colour change int TimeScale = 250; //If you change your username you will need to change this string player_name = "DiamondTH"; int col = 0; string color_name = "Red"; public void OnStartup(){ IObjectTimerTrigger Timer = (IObjectT...
- Fri Nov 23, 2018 10:52 am
- Forum: Answered ScriptAPI Topics
- Topic: [REQUEST] Rainbow man!
- Replies: 3
- Views: 2948
- Gender:
[REQUEST] Rainbow man!
Hey dudes! So i want to make a script that changes player's clothing item color to rainbow's colors EVERY SECOND if player's name is DiamondTH. Something like this: [ Hat's colors for example ] First sec - Red. Second sec - Orange. Third second - Yellow. ETC. And it repeats after hitting purple. I k...
- Sun Nov 18, 2018 4:26 pm
- Forum: SFD Status Updates
- Topic: Superfighters Deluxe release date!
- Replies: 29
- Views: 17288
- Gender:
- Sun Nov 18, 2018 4:11 pm
- Forum: SFD Status Updates
- Topic: Superfighters Deluxe release date!
- Replies: 29
- Views: 17288
- Gender:
Re: Superfighters Deluxe release date!
Finally! But too bad that there will be no free version
- Sat Nov 17, 2018 7:08 am
- Forum: Superfighters Deluxe Ideas and Suggestions
- Topic: Map Editor Suggestions
- Replies: 192
- Views: 104096
- Gender:
- Sat Oct 27, 2018 2:14 pm
- Forum: Answered ScriptAPI Topics
- Topic: Need help with IProfile
- Replies: 1
- Views: 2213
- Gender:
Need help with IProfile
Hello! I am here with new question, that can confuse powerful scripters, cuz it's stupid. I'm trying to change players clothing to something i want without triggers. But i can't get it to work. I want something like: If(ply.Name == "randomname"){ ply.SetHeadClothingItemColor(blue); } But i have no i...
- Tue Oct 23, 2018 2:41 pm
- Forum: Custom Scripts
- Topic: A few stuffs I've made in the past I wanted to share before I leave
- Replies: 14
- Views: 10376
- Gender:
Re: A few stuffs I've made in the past I wanted to share before I leave
I like your ideas, but quitting the game for that reason confuses me :V . But I have to respect your opinion, so good luck in the future!
("xd" map will be really useful for me)
("xd" map will be really useful for me)
- Sat Oct 06, 2018 11:40 am
- Forum: Answered ScriptAPI Topics
- Topic: Player health checking
- Replies: 2
- Views: 2583
- Gender:
- Sat Oct 06, 2018 11:07 am
- Forum: Answered ScriptAPI Topics
- Topic: Player health checking
- Replies: 2
- Views: 2583
- Gender:
Player health checking
Hello! I have been experimenting with the Script API and i wanted to do something like: if(ply.CurrentHealth <= 30) { Game.PlayEffect("CFTXT",ply.GetWorldPosition(),"I have low health!"); } But i couldn't find any possibility for player health checking. Do we have something for this in here? If not,...
- Tue Sep 18, 2018 2:52 pm
- Forum: Superfighters Deluxe Ideas and Suggestions
- Topic: New movements (with pictures)
- Replies: 14
- Views: 9527
- Gender:
Re: New movements (with pictures)
That will be veru useful if this were added, especially the first two. I can already imagine these epic and dramatic moments j_j I think we already have Walltap thing. I mean technique of using wall in map editor to get an result. Agreed, but i'd like to see this feature as official mechanics, so ma...
- Fri Sep 14, 2018 5:33 pm
- Forum: Superfighters Deluxe Ideas and Suggestions
- Topic: Small Suggestions topic
- Replies: 496
- Views: 269589
- Gender:
Re: Small Suggestions topic
I'd love to see the bots become truly randomly customized (like on the title screen?) instead of having a preset roster of bots be matched against me every time I start a play session. Unless every player gets a different roster of bots on their own machine (which I find very unlikely) I'm sure we ...