How to do that
#1

If I type /rcon players I get list of online players + their id's etc, but I want to get this in to SendClientMessage.

How can I do it?
Reply
#2

for start i need to know if you using dini/mysql... but you can add this after...
this is the basic try this:
pawn Код:
EDIT: DELETED... CRAP sorry by mistake i wrote a script to show your information >.<"
Reply
#3

thanks I will try it
Reply
#4

or simpler than that:

pawn Код:
if(!strcmp(cmdtext,"/players",true))
{
     if(!IsPlayerAdmin(playerid)) return SendClientMessage(playerid,COLOR_RED,"You are not a rcon admin!");
     SendRconCommand("players");
     return 1;
}
Reply
#5

hm i deleted the script sorry.... see what i wrote....
any way... you want all of this information at once? or maybe..."/player 4"
and it will give you the information of player id 4?
Reply
#6

I want to get this string (SendRconCommand("players") to format it and send it to my IRC.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)