SendClientMessage problem
#6

Well everything is fine as I said, everything runs. Just the ClientMessage doesn't send.

Quote:
Originally Posted by pagie1111
did you use


Код:
SetTimerEx("GLine_Entry",TIME,false,"i",playerid);
Код:
forward GLine_Entry(playerid);
?
Yes I did.
Quote:
Originally Posted by Joe Staff
Did you want to put SendClientMessageToAll? cause that's sending a message to the player telling them their name and IP and reason why.
No, that's the way I want it, don't ask why.
Quote:
Originally Posted by Sneaky'
Strange. please tell me how did you define the following:

pawn Код:
Player[playerid][Nickname]
Player[playerid][IP]
Player[playerid][BanReason]
SetAccountInfo
Using an enum, but that isn't the problem as everything runs but the message.
Quote:
Originally Posted by yezizhu
Ban should be dealy, but message shouldn't(In my opinion, it's a fail to make KickEx, BanEx.
Try this:
pawn Код:
#define Imp_BanEx(%1) BanEx(%1)
forward Imp_BanEx_1(const playerid,const reason[]);
stock Imp_BanEx(const playerid, const reason[]){
  SetTimerEx("Imp_BanEx_1",1000,0,"is",playerid,reason);
  SendClientMessage(playerid,COLOR_GREEN,reason);
  return true;
}

public Imp_BanEx_1(const playerid,const reason[]){
  BanEx(playerid,reason);
}
I will try this and post back, hold on.
Reply


Messages In This Thread
SendClientMessage problem - by Francis[French] - 29.07.2009, 23:31
Re: SendClientMessage problem - by pagie1111 - 30.07.2009, 05:48
Re: SendClientMessage problem - by Joe Staff - 30.07.2009, 05:52
Re: SendClientMessage problem - by -Sneaky- - 30.07.2009, 06:12
Re: SendClientMessage problem - by yezizhu - 30.07.2009, 06:48
Re: SendClientMessage problem - by Francis[French] - 30.07.2009, 06:54
Re: SendClientMessage problem - by Francis[French] - 30.07.2009, 07:05
Re: SendClientMessage problem - by paytas - 30.07.2009, 07:06
Re: SendClientMessage problem - by yezizhu - 30.07.2009, 07:22
Re: SendClientMessage problem - by Francis[French] - 30.07.2009, 07:23

Forum Jump:


Users browsing this thread: 1 Guest(s)