Hey this is not really a support and not really a request topic. Let me explain.
In my server there exist 2 Team -> "good" and "evil"
I added to the char -> database the table [team] value's: 1 = good and 2 = evil
So I want create a mapflag which is similiar like pvp mapflag, the players can hit each other, but in mine is one thing different, i want to disable the pvp timing and i want add that good can't hit good, good can only hit evil and evil can only hit good.
I am not sure, do i add the database SELECT/(read) here?
char/char.c
(p->fame != cp->fame)
in my situation it woud be
(p->team!= cp->team)
is that correctly?
Now the main problem:
I have seen in different other mapflag coding that i have to add something like this:
Question
bimbi
Hey this is not really a support and not really a request topic. Let me explain.
In my server there exist 2 Team -> "good" and "evil"
I added to the char -> database the table [team] value's: 1 = good and 2 = evil
So I want create a mapflag which is similiar like pvp mapflag, the players can hit each other, but in mine is one thing different, i want to disable the pvp timing and i want add that good can't hit good, good can only hit evil and evil can only hit good.
I am not sure, do i add the database SELECT/(read) here?
char/char.c
in my situation it woud be
is that correctly?
Now the main problem:
I have seen in different other mapflag coding that i have to add something like this:
what does it mean? Is this the packetreading?
Maybe it would be easier if somebody coud help me a lilbit with the teammapflag.
Edited by bimbi4 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.