Raised This Month: $ Target: $400
 0% 

[REQ] Plugin Player Can't Fire In Jail


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
lascage
Member
Join Date: Nov 2010
Old 10-02-2011 , 14:51   [REQ] Plugin Player Can't Fire In Jail
Reply With Quote #1

Hello !

I'm requesting a plugin that makes the player can't fire if there are in the Jail.

I have a Snippet (Not mine, by Steven from NSNF TEAM) IsInJail :

Code:
IsInJail(client) {     new Float:v[3];     GetEntPropVector(client, Prop_Send, "m_vecOrigin", v);     /* Jail Principal */     if (     v[0] >= -1512.0 && v[0] <= -1304.0 &&      v[1] >= -492.0 && v[1] <= 748.0 &&      v[2] >= 60.0 && v[2] <= 260.0     )     /* Radio Gauche */         return true;     else if (     v[0] >= -1519.0 && v[0] <= -1283.0 &&      v[1] >= 984.0 && v[1] <= 1520.0 &&     v[2] >= 193.0 && v[2] <= 266.0     )         return true;              /* Radio Droite */       else if (     v[0] >= -1225.0 && v[0] <= -1048.0 &&      v[1] >= 984.0 && v[1] <= 1520.0 &&     v[2] >= 193.0 && v[2] <= 266.0     )         return true;              else         return false; }
Sry, for the code, you can see this better here -> Snippet - IsInJail

I'm requesting a plugin that makes this :

If The player is in the jail (If IsInJail), the player can't fire.
If the player isn't in the jail, he can fire.

I want too an advert who say in the chat and in Center Message : You are in the Jail, you can't fire !

Thx To you !

EDIT :

Sry, for the code, you can see this better here -> Snippet - IsInJail

Last edited by lascage; 10-03-2011 at 10:25.
lascage is offline
databomb
Veteran Member
Join Date: Jun 2009
Location: california
Old 10-04-2011 , 21:20   Re: [REQ] Plugin Player Can't Fire In Jail
Reply With Quote #2

I'll do it for 3 USD. There will be no ugly hard coding of map coordinates.
__________________
databomb is offline
lascage
Member
Join Date: Nov 2010
Old 10-06-2011 , 11:09   Re: [REQ] Plugin Player Can't Fire In Jail
Reply With Quote #3

Thx Databomb but i can't paid. So someone can help me for free ?
lascage is offline
lascage
Member
Join Date: Nov 2010
Old 10-08-2011 , 04:35   Re: [REQ] Plugin Player Can't Fire In Jail
Reply With Quote #4

up
lascage is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 12:24.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode