Raised This Month: $51 Target: $400
 12% 

[REQ] type command in zone


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Clamouzes
Junior Member
Join Date: May 2013
Old 07-20-2015 , 15:34   [REQ] type command in zone
Reply With Quote #1

Quote:
Originally Posted by Clamouzes View Post
Hello.

I creat a map with bank and i have a puglin bank.

I want when the player is in bank he can deposit with command puglin (!deposit)

How i do ? Creat zone with condition ? what command for block command when the player is out of zone.


++

Last edited by Clamouzes; 07-20-2015 at 15:52.
Clamouzes is offline
DarkDeviL
SourceMod Moderator
Join Date: Apr 2012
Old 07-21-2015 , 01:50   Re: [REQ] type command in zone
Reply With Quote #2

Quote:
Originally Posted by Clamouzes View Post
Quote:
Originally Posted by Clamouzes View Post
Hello,

I have a problem. I creat a map with bank and i have a puglin bank.

I want when the player is in bank he can deposit with command puglin (!deposit)

How i do ? Creat zone with condition ? what command for block command when the player is out of zone.


++
Hello.

First of all BEFORE you use this forum, you read the AlliedModders Rules:

Quote:
Do not cross-post threads to multiple forums.
Now, since you technically posted the same thing to both the AMX Mod X section and the SourceMod section - what game is this for?
__________________
Mostly known as "DarkDeviL".

Dropbox FastDL: Public folder will no longer work after March 15, 2017!
For more info, see the [SRCDS Thread], or the [HLDS Thread].
DarkDeviL is offline
Clamouzes
Junior Member
Join Date: May 2013
Old 07-21-2015 , 03:49   Re: [REQ] type command in zone
Reply With Quote #3

The post in Amxx topic it's un error and i can't delete the topic, sorry.
Clamouzes is offline
Clamouzes
Junior Member
Join Date: May 2013
Old 07-23-2015 , 10:57   Re: [REQ] type command in zone
Reply With Quote #4

No body ?
Clamouzes is offline
Potato Uno
Veteran Member
Join Date: Jan 2014
Location: Atlanta, Georgia
Old 07-23-2015 , 21:16   Re: [REQ] type command in zone
Reply With Quote #5

I'm assuming this is CS:GO or some CS game.

You need to search the netprops that store the client's money amount, and then use a global array to store the amount of money deposited (using the client index as the array index). I don't play CS:GO so I can't really say much past that.
Potato Uno is offline
Arkarr
Veteran Member
Join Date: Sep 2012
Location: Just behind my PC screen
Old 07-24-2015 , 04:56   Re: [REQ] type command in zone
Reply With Quote #6

There is a plugin called "Dev Zones" yaou sohuld be able to do what you want with that.
__________________
Want to check my plugins ?
Arkarr is offline
Clamouzes
Junior Member
Join Date: May 2013
Old 07-24-2015 , 08:14   Re: [REQ] type command in zone
Reply With Quote #7

Yes, but how i can disable command if player or out of zones?
Clamouzes is offline
Arkarr
Veteran Member
Join Date: Sep 2012
Location: Just behind my PC screen
Old 07-24-2015 , 14:44   Re: [REQ] type command in zone
Reply With Quote #8

Quote:
Originally Posted by Clamouzes View Post
Yes, but how i can disable command if player or out of zones?
Quote:
/**
* Called when a player has entered in a zone.
* @param client client that has entered in the zone.
* @String zone Zone name.
*/
forward Zone_OnClientEntry(client, String:zone[]);

/**
* Called when a player has left a zone.
* @param client client that has left the zone.
* @String zone Zone name.
*/
forward Zone_OnClientLeave(client, String:zone[]);
__________________
Want to check my plugins ?

Last edited by Arkarr; 07-24-2015 at 14:45.
Arkarr 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 18:14.


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