String Help
#6

pawn Код:
stock pName(iPlayer)
{
    new
        iName[MAX_PLAYER_NAME];
 
    GetPlayerName(iPlayer, iName, sizeof(iName));
    return iName;
}

public OnPlayerConnect(playerid)
{
    new
        iStr[60];

    format(iStr, sizeof(iStr), "* %s has joined the server.", pName(playerid));
    SendClientMessage(playerid, 0xAAAAAAA, iStr);
    return 1;
}
Reply


Messages In This Thread
String Help - by dillo1000 - 02.02.2011, 18:20
Re: String Help - by admantis - 02.02.2011, 18:23
Re: String Help - by dillo1000 - 02.02.2011, 18:24
Re: String Help - by admantis - 02.02.2011, 18:25
Re: String Help - by dillo1000 - 02.02.2011, 18:37
Re: String Help - by [L3th4l] - 02.02.2011, 18:52

Forum Jump:


Users browsing this thread: 1 Guest(s)