Anti Team Jack
#8

Quote:
Originally Posted by Sting.
Посмотреть сообщение
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.
I know its a dumb suggestion, But it can add a cool feature to your script.

Add SendClienMessage to it

So it will be :
PHP код:
public OnPlayerEnterVehicle(playeridvehicleidispassenger

  new 
id GetDriverID(vehicleid); 
  if(
IsPlayerInAnyVehicle(id) && !ispassenger && GetPlayerTeam(playerid) == GetPlayerTeam(id)) 
  { 
    
Clearplayeranimation(playerid);
    
Sendclientmessage(PlayeridCOLOR_RED"Don't Ninja Jack your teammates"); //You need to define COLOR_RED to 0xAA3333FF, Or just replace It with another color, Or just put the hex directly
  

  return 
1

Reply


Messages In This Thread
Anti Team Jack - by Sting. - 26.07.2017, 10:33
Re: Anti Team Jack - by xMoBi - 26.07.2017, 10:35
Re: Anti Team Jack - by Sting. - 26.07.2017, 10:36
Re: Anti Team Jack - by StrikerZ - 26.07.2017, 10:39
Re: Anti Team Jack - by Sting. - 26.07.2017, 10:51
Re: Anti Team Jack - by StrikerZ - 26.07.2017, 10:54
Re: Anti Team Jack - by Sting. - 26.07.2017, 10:58
Re: Anti Team Jack - by R4nd4ll - 26.07.2017, 11:18
Re: Anti Team Jack - by Sting. - 26.07.2017, 11:30
Re: Anti Team Jack - by R4nd4ll - 26.07.2017, 11:31

Forum Jump:


Users browsing this thread: 3 Guest(s)