Mind Reading Script
#1

Can someone show me how to make a simple script?
I want to know how to make a mind reading script, I have an idea how to start it but I'm not that good.

PHP код:
CMD:mindread(playeridparams[])
{
   new 
giveplayerid;
   new 
result[120];
       if(
sscanf(params"rs[120]"giveplayeridresult))
       {
          
SendClientMessage(playeridCOLOR_GREY"USAGE: /(m)ind®ead [playerid/PartOfName] [message]");
          return 
1;
       } 
So the goal here is when the player /mindread, he can ask the target any question and the target will have no choice but to answer the question, for example /mindread (playerid) "Where were you last night?"
so now a input dialog would pop up on the target's screen saying "Your mind is being read, answer the question below, and do not lie, lying is cheating."

The input dialog would allow the player to answer the question and they can submit it to the mindreader (which would be the result) or cancel it.


If you need more info, feel free to ask me.
Reply


Messages In This Thread
Mind Reading Script - by SteSte - 25.06.2017, 02:46
Re: Mind Reading Script - by Threshold - 25.06.2017, 03:17
Re: Mind Reading Script - by SteSte - 25.06.2017, 13:55
Re: Mind Reading Script - by JasonRiggs - 25.06.2017, 14:44
Re: Mind Reading Script - by Sew_Sumi - 25.06.2017, 14:59
Re: Mind Reading Script - by SteSte - 25.06.2017, 21:33
Re: Mind Reading Script - by Sew_Sumi - 25.06.2017, 22:22
Re: Mind Reading Script - by sammp - 25.06.2017, 22:45
Re: Mind Reading Script - by saffierr - 25.06.2017, 23:19
Re: Mind Reading Script - by SteSte - 26.06.2017, 00:21

Forum Jump:


Users browsing this thread: 1 Guest(s)