Register for your free account! | Forgot your password?

You last visited: Today at 09:53

  • 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: 23
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   #2
 
elite*gold: 10
Join Date: Jul 2011
Posts: 6,630
Received Thanks: 3,215
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   #3
 
elite*gold: 0
Join Date: Mar 2017
Posts: 23
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   #4
 
elite*gold: 0
Join Date: Jul 2009
Posts: 473
Received Thanks: 171
Well, which source are you using?
I have two ***** but none is a crystal ball.


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


newestco
BelieveGhost is offline  
Old   #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   #7
 
elite*gold: 0
Join Date: Apr 2017
Posts: 60
Received Thanks: 40
Spoon-feeding should really be a bannable offense ...
boDil is offline  
Old   #8
 
elite*gold: 0
Join Date: Mar 2017
Posts: 23
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   #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   #10
Im Ruhestand






 
elite*gold: 20
The Black Market: 402/0/0
Join Date: Aug 2014
Posts: 29,759
Received Thanks: 2,898
#closed (demands for code)


wshbr is offline  
Closed Thread



« Previous Thread | Next Thread »

Similar Threads
wtt little sorc for a little knight (eu3)
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 ,...
0 Replies - Archlord Trading
Little Gaikoz,Little Cancer & Little KazeAaze!?
where the heck could i get them!? PLS GIMME HELP!! T_T
6 Replies - Grand Chase
little kazeaaze and little gaikoz trouble???
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...
8 Replies - Grand Chase Philippines
little kazeaaze and little gaikoz trouble???
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...
17 Replies - Grand Chase Hacks, Bots, Cheats & Exploits
[Problem]I have little idea and i need little help.
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...
0 Replies - SRO PServer Ask the Experts



All times are GMT +1. The time now is 09:53.


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.