Message is only sending to ID 0
#2

You have to use the "u" parameter, which lets to send the message to other players. So the parameters would look like:

pawn Код:
new playeridornamehere;
if(!sscanf(params, "uis[128]", playeridornamehere, pnumber, text))
EDIT: So the playerid would be the player who uses the command, and the playeridornamehere would be the player which you want to do something with.
Reply


Messages In This Thread
Message is only sending to ID 0 - by milanosie - 20.01.2012, 09:58
Re: Message is only sending to ID 0 - by Unte99 - 20.01.2012, 10:38
Re: Message is only sending to ID 0 - by milanosie - 20.01.2012, 10:49
Re: Message is only sending to ID 0 - by Vince - 20.01.2012, 10:49
Re: Message is only sending to ID 0 - by milanosie - 20.01.2012, 10:53
Re: Message is only sending to ID 0 - by milanosie - 20.01.2012, 13:05
Re: Message is only sending to ID 0 - by milanosie - 20.01.2012, 15:19
Re: Message is only sending to ID 0 - by [ABK]Antonio - 20.01.2012, 16:09
Re: Message is only sending to ID 0 - by Eric - 20.01.2012, 16:13
Re: Message is only sending to ID 0 - by Michael@Belgium - 20.01.2012, 16:24

Forum Jump:


Users browsing this thread: 1 Guest(s)