A little help (+rep).
#5

pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
    if(!strcmp(cmdtext, "/smokebomb", true))
    {
        SendClientMessage(playerid, 0xFFFFFFFF, "You planted a smokebomb!");
        new Float:x, Float:y, Float:z;
        GetPlayerPos(playerid, x, y, z);
        CreateObject(18716, x, y, z, 0, 0, 0, 250.0);
        return 1;
    }
    return 0;
}
Hope it will help
Reply


Messages In This Thread
A little help (+rep). - by [Twixx] - 26.07.2012, 16:46
Re: A little help (+rep). - by Akira297 - 26.07.2012, 16:48
Re: A little help (+rep). - by [Twixx] - 26.07.2012, 16:51
Re: A little help (+rep). - by Stigg - 26.07.2012, 16:51
Re: A little help (+rep). - by Jarnu - 26.07.2012, 16:53
Re: A little help (+rep). - by Roko_foko - 26.07.2012, 16:55
Re: A little help (+rep). - by [Twixx] - 26.07.2012, 16:57

Forum Jump:


Users browsing this thread: 2 Guest(s)