/helpchat and /endhelpchat only for ID 0
#9

Quote:
Originally Posted by Sime30
Посмотреть сообщение
So it's a conversation only between 2 players right?

But where did you start a conversation with a desired player?

You need to do something like /helpchatstart [Id player/name] in which you will add a new global variable[MAX_PLAYERS] (An ID of desired player to be stored in a variable) with whom you will talk. Then using /helpchat will send a message to the desired player using your variable (We stored an ID , remember) and /endhelpchat will put variable[playerid] = -1; (Use -1 because no one can use that ID)

EDIT: Also, put variable[playerid] = -1; OnPlayerConnect
i have already somting likenthat as you see but its still not working what i just want is that an staaf member can talk to an other player like /pm bit without the id
Reply


Messages In This Thread
/helpchat and /endhelpchat only for ID 0 - by lulo356 - 09.02.2015, 23:42
Re: /helpchat and /endhelpchat only for ID 0 - by Jefff - 10.02.2015, 00:40
Re: /helpchat and /endhelpchat only for ID 0 - by lulo356 - 10.02.2015, 01:17
Re: /helpchat and /endhelpchat only for ID 0 - by Jefff - 10.02.2015, 01:52
Re: /helpchat and /endhelpchat only for ID 0 - by Kar - 10.02.2015, 02:18
Re: /helpchat and /endhelpchat only for ID 0 - by lulo356 - 10.02.2015, 06:33
Re: /helpchat and /endhelpchat only for ID 0 - by lulo356 - 10.02.2015, 16:46
Re: /helpchat and /endhelpchat only for ID 0 - by Sime30 - 10.02.2015, 17:00
Re: /helpchat and /endhelpchat only for ID 0 - by lulo356 - 11.02.2015, 09:33
Re: /helpchat and /endhelpchat only for ID 0 - by lulo356 - 11.02.2015, 22:19

Forum Jump:


Users browsing this thread: 4 Guest(s)