Mind Reading Script
#9

Freeze both players - You will have to use DIALOG_STLYE_INPUT for the 'giveplayerid'.
You were pretty close in your Command.

PHP код:
CMD:mindread(playeridparams[]) 

   new 
giveplayeridresult[120]; 
   if(
sscanf(params"us[120]"giveplayeridresult)) return SendClientMessage(playeridCOLOR_GREY"USAGE: /(m)ind®ead [playerid/PartOfName] [message]");
   
TogglePlayerControllable(playerid1); // Freezes the playerid
   
TogglePlayerControllable(giveplayerid1); // Freezes the target
   
ShowPlayerDialog(giveplayeridMindReadingDIALOG_STYLE_INPUT"Your mind is being read out"result"Enter""");
   return 
1;

Define 'MindReading' at the top of your script.
OnDialogResponse should do the rest.

Edit: You used the 'r' specifier for the playerid/partofname, but you should use 'u' for that.
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: 2 Guest(s)