Help with Coding.

Status
This thread has been locked.
PebbleHost
High performance, consistent uptime and fast support. Minecraft hosting that just works.

HazalTheBritish

Banned
Feedback score
0
Posts
44
Reactions
17
Resources
0
I am talking about the strike, not the args.
 
Banned forever. Reason: Ban Evading (Xx_Silento_xX)

UIDesign

Feedback score
0
Posts
12
Reactions
1
Resources
0
Yeah it's deprecated, you can still use the method though.

Make sure to check if target != null, because it will cause an error if the player is offline.
 

HazalTheBritish

Banned
Feedback score
0
Posts
44
Reactions
17
Resources
0
Yeah it's deprecated, you can still use the method though.

Make sure to check if target != null, because it will cause an error if the player is offline.
So does it not effect the code if I do, target != null underneath?
Don't worry. It's nothing. It's a deprecated method i believe.
Same question for you ^
 
Banned forever. Reason: Ban Evading (Xx_Silento_xX)

UIDesign

Feedback score
0
Posts
12
Reactions
1
Resources
0
So does it not effect the code if I do, target != null underneath?

Same question for you ^
You've done it currently, it'll work.

I'm just saying make sure you check that your player variable isn't null (e.g. That the player is on the server).
 
Status
This thread has been locked.
Top