New in dcmd- Help with meows!!!
#5

Quote:
Originally Posted by Assyria
pawn Код:
dcmd_buymeow(playerid, params[])
{
    new giveplayerid;
    if (sscanf(params, "u", giveplayerid)) SendClientMessage(playerid, 0x6495EDAAA, "Usage: /Buymeow [ID/Name]");
    else if (giveplayerid == INVALID_PLAYER_ID) SendClientMessage(playerid, 0xFF9900AA, "Wrong name or ID!");
    else if(Meow[giveplayerid] != 50) SendClientMessage(playerid, COLOR, "This person doesn't have Meow[playerid] = 50;");
    else
    {
         GivePlayerMoney(playerid,-1000);
         GivePlayerMoney(giveplayerid,1000);
         SendClientMessage(playerid,0x24FF0AB9, "You bought meows!!");
         SendClientMessage(giveplayerid,0x24FF0AB9, "You have succesfully sold your meows");
         Meow[giveplayerid] = 0;
         SetPlayerDrunkLevel(playerid, 3200);
    }
    return 1;
}
=D xD
Reply


Messages In This Thread
New in dcmd- Help with meows!!! - by Assyria - 04.04.2010, 23:29
Re: New in dcmd- Help with meows!!! - by Assyria - 05.04.2010, 11:55
Re: New in dcmd- Help with meows!!! - by biltong - 05.04.2010, 12:03
Re: New in dcmd- Help with meows!!! - by Assyria - 05.04.2010, 14:16
Re: New in dcmd- Help with meows!!! - by Last_Stand_Guardian - 05.04.2010, 14:29

Forum Jump:


Users browsing this thread: 3 Guest(s)