Help me out here (;
#3

I'm a bit confused by your code, because I'm not exactly sure what you're trying to do. I think I got it though:

pawn Код:
CMD:setupdate(playerid,params[])
{
    new text[65];
    if(!IsPlayerAdmin(playerid))
        return 0;
    if(sscanf(params,"s[64]",text))
        return SendHelpMessage(playerid,"/setupdate <text>","It will set the server name.");

    new string[100];
    format(string, sizeof(string), "hostname [0.3d]L.A. Noire RPG Cops and Robbers version %s", text);
    SendRconCommand(string);
    return 1;
}
Reply


Messages In This Thread
Help me out here (; - by FireCat - 27.12.2011, 20:17
Re: Help me out here (; - by kizla - 27.12.2011, 20:22
Re: Help me out here (; - by Scenario - 27.12.2011, 20:23
Re: Help me out here (; - by Seven_of_Nine - 27.12.2011, 20:23
Re: Help me out here (; - by FireCat - 28.12.2011, 09:06

Forum Jump:


Users browsing this thread: 1 Guest(s)