Hello. I would be happy if someone helped me answer a few questions.
Im currently working at user management and I don't know how to do few things.
Assume that game_receive_url_response receives data in the form like this "1|10|3|0|xyz|blablabla" (Im even right?)
How game know that (assign, ":unique_id", reg2), is for example 10
Ok that was first question .
My second question sounds like this :
I want create ban system which use kicks after join to server.
In my database I have column "banned" . If its 0 = false 1=true.
So I add this
into game_receive_url response.
After this I need to add operation to kick. (in game_receive_url_response)
so all looks like this
But I need to call operation (kick player) only if banned=1. How I can do this?
My last question for now .
There is way to use for example {reg4} from game_receive_url_response in another script ?
Im currently working at user management and I don't know how to do few things.
Assume that game_receive_url_response receives data in the form like this "1|10|3|0|xyz|blablabla" (Im even right?)
How game know that (assign, ":unique_id", reg2), is for example 10
Ok that was first question .
My second question sounds like this :
I want create ban system which use kicks after join to server.
In my database I have column "banned" . If its 0 = false 1=true.
So I add this
Code:
(assign, ":banned", reg4),
After this I need to add operation to kick. (in game_receive_url_response)
so all looks like this
Code:
(assign, ":banned", reg4),
(player_is_active, ":local_Id"),
(player_get_unique_id, ":uid", ":local_Id"),
(eq, ":Unique_Id", ":uid"),
####
(kick_player, ":uid"),
###
My last question for now .
There is way to use for example {reg4} from game_receive_url_response in another script ?