Register for your free account! | Forgot your password?

You last visited: Today at 23:04

  • Please register to post and access all features, it's quick, easy and FREE!


little problem

Closed Thread
 
Old   #1
 
elite*gold: 0
Join Date: Mar 2017
Posts: 29
Received Thanks: 0
little problem

Hi elitepvp

i wanna code to make no use pots on map i want ..

i using source 5165..

what it should be ?



BelieveGhost is offline  
Old 12/31/2017, 21:52   #2
 
elite*gold: 12
Join Date: Jul 2011
Posts: 7,005
Received Thanks: 3,357
We're not here to program for you. It's a simple if else statement. Come on.
If you're really that useless, you probably shouldn't be running a server.


Spirited is offline  
Thanks
1 User
Old 12/31/2017, 22:27   #3
 
elite*gold: 0
Join Date: Mar 2017
Posts: 29
Received Thanks: 0
Quote:
Originally Posted by Spirited View Post
We're not here to program for you. It's a simple if else statement. Come on.
If you're really that useless, you probably shouldn't be running a server.

i know and you are right, but im not asking for full event or big deal.. i only need that step to done my event.

i was trying to code but there something wrong..
BelieveGhost is offline  
Old 01/01/2018, 01:14   #4
 
elite*gold: 0
Join Date: Jul 2009
Posts: 487
Received Thanks: 178
Well, which source are you using?
I have two ***** but none is a crystal ball.


pintinho12 is offline  
Thanks
1 User
Old 01/01/2018, 09:41   #5
 
elite*gold: 0
Join Date: Mar 2017
Posts: 29
Received Thanks: 0
Quote:
Originally Posted by pintinho12 View Post
Well, which source are you using?


newestco
BelieveGhost is offline  
Old 01/01/2018, 12:52   #6
 
elite*gold: 0
Join Date: Jan 2008
Posts: 65
Received Thanks: 20
Quote:
Originally Posted by BelieveGhost View Post
newestco


Code:
public void UseItem(Item I)
        {
            try
            {
                if (I.ID >= 1000000 && I.ID <= 1002050) // mp and hp pots
                {
                    if (!(DateTime.Now > UnableToUseDrugs.AddSeconds(UnableToUseDrugsFor)))
                    {
                        MyClient.LocalMessage(2005, "You've been poisoned. You cannot use drugs for a while.");
                        return;
                    }
                    else if (Loc.Map == 1002) // tc map
                    {
                        MyClient.LocalMessage(2005, "You cannot use drugs on this map !");
                        return;
                    }
                }
snipetime is offline  
Thanks
1 User
Old 01/01/2018, 13:37   #7
 
elite*gold: 0
Join Date: Apr 2017
Posts: 87
Received Thanks: 50
Spoon-feeding should really be a bannable offense ...
boDil is offline  
Old 01/01/2018, 13:46   #8
 
elite*gold: 0
Join Date: Mar 2017
Posts: 29
Received Thanks: 0
Quote:
Originally Posted by snipetime View Post
Code:
public void UseItem(Item I)
        {
            try
            {
                if (I.ID >= 1000000 && I.ID <= 1002050) // mp and hp pots
                {
                    if (!(DateTime.Now > UnableToUseDrugs.AddSeconds(UnableToUseDrugsFor)))
                    {
                        MyClient.LocalMessage(2005, "You've been poisoned. You cannot use drugs for a while.");
                        return;
                    }
                    else if (Loc.Map == 1002) // tc map
                    {
                        MyClient.LocalMessage(2005, "You cannot use drugs on this map !");
                        return;
                    }
                }

Thx for understating sir
BelieveGhost is offline  
Old 01/01/2018, 14:09   #9
 
elite*gold: 0
Join Date: Jan 2008
Posts: 65
Received Thanks: 20
Quote:
Originally Posted by boDil View Post
Spoon-feeding should really be a bannable offense ...
Yea that's the solution... I know Spoon-feeding is not good, he will learn notting but heck conquer online community is dead... Only a few people still help others.
snipetime is offline  
Old 01/01/2018, 14:18   #10
Im Ruhestand






 
elite*gold: 0
The Black Market: 402/0/0
Join Date: Aug 2014
Posts: 30,138
Received Thanks: 2,970
#closed (demands for code)


wshbr is offline  
Closed Thread



« [C++] DHKey Exchange in 5672 | How to stop people from spamming marriage »

Similar Threads
wtt little sorc for a little knight (eu3)
03/18/2011 - Archlord Trading - 0 Replies
i wanna trade a levl 56 sorc for a levl 50+ knight on Eu 3 the sorc doesn't have anything special , only has a elite top and elite cap, no rings , no neck, has 9 combis, 10k lens, lucky charm on it (bound tho from return warrior long time ago) the...
Little Gaikoz,Little Cancer & Little KazeAaze!?
10/19/2010 - Grand Chase - 6 Replies
where the heck could i get them!? PLS GIMME HELP!! T_T
little kazeaaze and little gaikoz trouble???
03/30/2010 - Grand Chase Philippines - 8 Replies
Hey! have youve been tired of hunting this pets????.....well, ill give you a tip!... 1.the gaikoz pet that I got was in kazeaaze castle.....try to go there 10 times straight,lets if your to lucky enough to get it.... 2. the kazeaaze pet...
little kazeaaze and little gaikoz trouble???
01/26/2010 - Grand Chase Hacks, Bots, Cheats & Exploits - 17 Replies
Hey! have youve been tired of hunting this pets????.....well, ill give you a tip!... 1.the gaikoz pet that I got was in kazeaaze castle.....try to go there 10 times straight,lets if your to lucky enough to get it.... 2. the kazeaaze pet...
[Problem]I have little idea and i need little help.
11/13/2009 - SRO PServer Ask the Experts - 0 Replies
I am playing on swsro and i'am botting. i'am using lolkop's loader to increase auto grab range but i it's increased too much (too many times). my char is going from item to item on the map instead of botting. i want to increase my auto grab only for...



All times are GMT +2. The time now is 23:04.


Powered by vBulletin®
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Abuse
Copyright ©2018 elitepvpers All Rights Reserved.