Author Topic: Disable Weapon Damage ? Need Help  (Read 6739 times)

0 Members and 1 Guest are viewing this topic.

Offline [AoD]NC

  • VC:MP Beta Tester
  • VC:MP Veteran
  • *
  • Posts: 616
  • AoD forever!
    • View Profile
    • KURWA MAĆ
Re: Disable Weapon Damage ? Need Help
« Reply #15 on: May 05, 2013, 04:25:58 pm »
Don;t understand that too :).

Well, instead of making 10 different timers and each of them just for 1 function, think about making 1 timer for 10 functions ;).

Offline MatheuS

  • Made Man
  • ***
  • Posts: 207
  • Pawn And Squirrel Scripter
    • View Profile
    • Brazillian Community
Re: Disable Weapon Damage ? Need Help
« Reply #16 on: May 07, 2013, 03:55:32 am »
[pawn]public OnPlayerKillEx(playerid, killerid, reason, bodypart)
{
 if (IsPlayerInArea(playerid, -955.8472,-897.2318,-362.1332,-304.5426))
 {
  MessageAllFormat(COLOR_NEUTRAL,"%s Has Been Kicked For Killing At Bank",gPlayers[killerid]);
  Kick(killerid);
  }
return 1;
}[/pawn]

[pawn]stock NeedPlayerInArea(playerid,Float:MinX,Float:MaxX,Float:MinY,Float:MaxY)
{
      new Float:x,Float:y,Float:z;
       GetPlayerPos(playerid, x, y, z);
       if(x >= MinX && x <= MaxX && y >= MinY && y <= MaxY) return 1;
       else return 0;
      return 1;
}
[/pawn]

 ;)

Offline aledark24

  • Made Man
  • ***
  • Posts: 206
  • I am a scripter and you have celous of me....so you crashed my servers
    • View Profile
Re: Disable Weapon Damage ? Need Help
« Reply #17 on: May 07, 2013, 03:04:07 pm »
[pawn]public OnPlayerKillEx(playerid, killerid, reason, bodypart)
{
 if (IsPlayerInArea(playerid, -955.8472,-897.2318,-362.1332,-304.5426))
 {
  MessageAllFormat(COLOR_NEUTRAL,"%s Has Been Kicked For Killing At Bank",gPlayers[killerid]);
  Kick(killerid);
  }
return 1;
}[/pawn]

[pawn]stock NeedPlayerInArea(playerid,Float:MinX,Float:MaxX,Float:MinY,Float:MaxY)
{
      new Float:x,Float:y,Float:z;
       GetPlayerPos(playerid, x, y, z);
       if(x >= MinX && x <= MaxX && y >= MinY && y <= MaxY) return 1;
       else return 0;
      return 1;
}
[/pawn]

 ;)
messageallformat??
not all users use warchief matheus....
public onplayerkillex?? warchief...
is better use playertopoint...
and put in the normal onplayerdeath...
and messageallformat translate for szmsg..
think and change the command...

Color_neutral wtf¿?

My server

201.241.73.137:5192
« Last Edit: May 07, 2013, 06:29:24 pm by aledark24 »
I am a great scripter and you are celous of my works
.....

Vice City Life Multiplayer By Saint

Offline dynavolt71

  • Crime Boss
  • ****
  • Posts: 371
    • View Profile
    • My Blog
Re: Disable Weapon Damage ? Need Help
« Reply #18 on: May 07, 2013, 03:27:23 pm »
+1 alejandro
[PAWNO]Fix Error " Failed to set data for "" " - http://forum.vicecitymultiplayer.com/index.php?topic=5743.0



:'(