/Jackass
#2

Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
    if(strcmp(cmdtext, "/jackass", true) == 0)
    {
        // Set the player's skin to ID 252, which is a whatever the skin is
        SetPlayerSkin(playerid, 252);

        new name[MAX_PLAYER_NAME];
        GetPlayerName(playerid, name, sizeof(name));

        new messege[128];
        format(messege,sizeof(messege), "%s(%d) Is a Jackass!!!", name, playerid); 
        SendClientMessageToAll(0xDEEE20FF, messege");
        return 1;
    }
    return 0;
}
thats the basics, its not hard to figure out the rest, just look at the wiki
Reply


Messages In This Thread
/Jackass - by Larsey123IsMe - 12.11.2010, 01:57
Re: /Jackass - by Salmon - 12.11.2010, 02:08
Re: /Jackass - by Larsey123IsMe - 12.11.2010, 02:21
Re: /Jackass - by Larsey123IsMe - 12.11.2010, 02:59
Re: /Jackass - by Kitten - 12.11.2010, 03:35
Re: /Jackass - by Larsey123IsMe - 12.11.2010, 03:42
Re: /Jackass - by Kitten - 12.11.2010, 03:49
Re: /Jackass - by Larsey123IsMe - 12.11.2010, 04:02
Re: /Jackass - by Retardedwolf - 12.11.2010, 04:03
Re: /Jackass - by Retardedwolf - 12.11.2010, 06:24

Forum Jump:


Users browsing this thread: 1 Guest(s)