[Help]
#2

pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
        new pName[MAX_PLAYER_NAME], str[128]; //Overused cells
        GetPlayerName(playerid, pName, sizeof(pName));
    if (strcmp("/welcome", cmdtext, true, 10) == 0) //twinki
    {
format(str, 128, "Welcome %s!", pName); //Welcome Twinki
SendClientMessage(playerid, 0xFFFFFFAA, str);
        return 1;
        }
Reply


Messages In This Thread
[Help] - by Twinki1993 - 10.07.2011, 01:14
Re: [Help] - by SmileyForCheat - 10.07.2011, 01:34
Re: [Help] - by Twinki1993 - 10.07.2011, 01:37
Re: [Help] - by SmileyForCheat - 10.07.2011, 01:40
Re: [Help] - by Twinki1993 - 10.07.2011, 01:43
Re: [Help] - by SmileyForCheat - 10.07.2011, 01:45

Forum Jump:


Users browsing this thread: 1 Guest(s)