Posts: 815
Threads: 127
Joined: May 2011
Reputation:
0
Well guys, I need your help on Anti Team jack. Can someone provide me the code to do so? I have set the teams with SetPlayerTeam(playerid, IDs). I just need help now, on making it Anti-Team jack. +REP for those who help with this. My hands are just tied with other things. Thanks in advance.
Posts: 102
Threads: 2
Joined: Jul 2017
The code will go under OnPlayerEnterVehicle, loop the players, if the team mate in the vehicle is a driver, break the loop and stop him.
Posts: 815
Threads: 127
Joined: May 2011
Reputation:
0
But could you provide the code, that would be big help. Thanks.
Posts: 815
Threads: 127
Joined: May 2011
Reputation:
0
My code to kick him out, was just ClearAnimations(playerid); so that the animation will stop. I placed the stock below my script, compiled it and found no errors. Problem is can't test, how it works fine.
Posts: 815
Threads: 127
Joined: May 2011
Reputation:
0
Alright, +REP to you guys. I will be able to try this weekend, if I find errors, I'll repost here. Thanks to both of ya'll.
Posts: 815
Threads: 127
Joined: May 2011
Reputation:
0
Yea mate, I used GameTextForPlayer instead but thanks. +REP for looking out.