Author Topic: Head Shoot Reward In Pawno vcmp  (Read 3013 times)

0 Members and 1 Guest are viewing this topic.

Offline Terminatorupgrade 2

  • Wiseguy
  • **
  • Posts: 91
  • pawno scripter
    • View Profile
Head Shoot Reward In Pawno vcmp
« on: December 19, 2010, 10:30:34 am »
Hi guys can any one give me the code of head shoot reward.i had made a Auto kick system for hax and max ping .please guys help me give me the Code of Head shoot reward in pawno code
thanks


Madara, Nacho_gb1 ,Skirmant'


+BIG THANKS TO  madara 8) 8) 8) 8) 8) 8) 8) 8)

Please any code of Head SHoot Reward?

Offline Scripter

  • Wiseguy
  • **
  • Posts: 62
    • View Profile
Re: Head Shoot Reward In Pawno vcmp
« Reply #1 on: December 19, 2010, 02:48:20 pm »
and also for fbs.mirc

Offline [AoD]NC

  • VC:MP Beta Tester
  • VC:MP Veteran
  • *
  • Posts: 616
  • AoD forever!
    • View Profile
    • KURWA MAĆ
Re: Head Shoot Reward In Pawno vcmp
« Reply #2 on: December 19, 2010, 03:05:13 pm »
You have to go to the signal/function where is on.player.kill. One of this parameters will be BodyPart, If I am not wrong, head's id is 5. Make a check if ( bodypart or what is the function name == 5 ) { reward here }, and it will work.

Offline Terminatorupgrade 2

  • Wiseguy
  • **
  • Posts: 91
  • pawno scripter
    • View Profile
Re: Head Shoot Reward In Pawno vcmp
« Reply #3 on: December 19, 2010, 04:06:34 pm »
i need Code Dude Please .. :-[

 ??? ???
Quote
enum sInfo
{
   Countx,
   Echo,
   Rewardforhead,
   Drownforhelikill,
   Drownfordriveby
}

if(reason == 6) {
         if (ServerInfo[0][Rewardforhead] == 1) {
            format(string,256,"Head kill Reward:[ %s ] Reason:[ HEAD SHOOT ]",gPlayers[killerid]);
            SendClientMessageToAll(COLOR_GREEN,string);
            IncPlayerHandCash(killerid,1000);
            GameTextForPlayer(playerid,"Head Shot Reward",1000,1);
            

i know it is wrong but i need Code
« Last Edit: December 19, 2010, 08:01:28 pm by StriKe »