Help,mole
#2

in your command SetMole(), add 2 lines:
Код:
SetPVarInt(SnoopedID,"BeingSnooped",1);
SetPVarInt(SnoopedID,"SendMoleMessagesToID",playerid);
in your onplayertext (better: /PM command, idk if you restricted the distance for public chats, but i assume so), add a simple check if the (PM)sending playerid got a PVarInt set to 1 (true), if so, send that message to the ID pointed here:
Код:
if(GetPVarInt(playerid,"BeingSnooped"==1)
{
new SendMessageToIDAswell=GetPVarInt(playerid,"SendMoleMessagesToID");
SendClientMessage(SendMessageToIDAswell,blabla...
}
Reply


Messages In This Thread
Help,mole - by SkizzoTrick - 20.11.2010, 14:09
Re: Help,mole - by Babul - 20.11.2010, 15:12
Re: Help,mole - by SkizzoTrick - 20.11.2010, 15:18

Forum Jump:


Users browsing this thread: 1 Guest(s)