Send a Message only once
#5

Quote:
Originally Posted by Threshold
Посмотреть сообщение
Or you can use just the one variable that you use to store the person who was the last to send a PM.

Example:
pawn Код:
// When a player receives a PM
if(LastPM[targetid] == INVALID_PLAYER_ID) SendClientMessage(targetid, -1, "You can use /r to quickly respond to PMs");
LastPM[targetid] = playerid; // playerid was the last to message targetid.
Reset LastPM[playerid] to INVALID_PLAYER_ID on OnPlayerConnect/Disconnect. Simple.
Anyway I made it, can I ask and something other? How can I add a second case on Dialogs?

I mean for ex I have a /cmds command that which shows you some themes like "House Commands,General Commands" etc and I want to add a second page on General Commands how can I do this

I want to do this with "next" button
Reply


Messages In This Thread
Send a Message only once - by SecretBoss - 17.06.2015, 11:19
Re: Send a Message only once - by Darrenr - 17.06.2015, 11:41
Re: Send a Message only once - by SecretBoss - 17.06.2015, 11:52
Re: Send a Message only once - by Threshold - 17.06.2015, 14:06
Re: Send a Message only once - by SecretBoss - 17.06.2015, 14:13

Forum Jump:


Users browsing this thread: 2 Guest(s)