Help with rcon command
#5

Ok, and for example if i want se this command or an other normal command like:

pawn Код:
#include <a_samp>

public OnFilterScriptInit()
{
    print("\n--------------------------------------");
    print(" Some Owner CMDS by Ricardo_Manuel");
    print("--------------------------------------\n");
    return 1;
}

public OnPlayerCommandText(playerid, cmdtext[])
{
    if(strcmp(cmdtext, "/heal", true) == 0)
    {
        if(!IsPlayerAdmin(playerid)); return SendClientMessage(playerid, 0xFF4444FF, "You Have Heal A Player");
        SetPlayerHealth(playerid, 100);
        return 1;
    }
    return 0;
}
Now i only can use it at me but how can i use it in others? like /heal playerid ?
Reply


Messages In This Thread
Help with rcon command - by ricardo178 - 26.01.2011, 21:47
Re: Help with rcon command - by bartje01 - 26.01.2011, 21:50
Re: Help with rcon command - by ricardo178 - 26.01.2011, 21:56
Re: Help with rcon command - by bartje01 - 26.01.2011, 22:09
Re: Help with rcon command - by ricardo178 - 26.01.2011, 22:24
Re: Help with rcon command - by bartje01 - 26.01.2011, 22:31
Re: Help with rcon command - by ricardo178 - 26.01.2011, 22:34
Re: Help with rcon command - by A.Bowers - 27.01.2011, 00:19
Re: Help with rcon command - by Mean - 27.01.2011, 13:24
Re: Help with rcon command - by DVDK - 27.01.2011, 13:53

Forum Jump:


Users browsing this thread: 3 Guest(s)