Help me out here (;
#4

You meant like so?
pawn Код:
CMD:setupdate(playerid,params[])
{
    if(!IsPlayerAdmin(playerid)) return 0;
    new iVersion[64];
    if(sscanf(params,"s[64]",iVersion)) return SendHelpMessage(playerid,"/setupdate <text>","It will set the server name.");
    new iUpdate[300];
    format(iUpdate,sizeof(iUpdate),"hostname [0.3d]L.A. Noire RPG Cops and Robbers %s",iVersion);
    SendRconCommand(iUpdate);
    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)