Little help
#1

Hey just a simple question,
I'm making a command but i have a problem
pawn Код:
if (strcmp("/blow", cmdtext, true, 10) == 0)
    {
        if(GetPlayerSkin(playerid == 111) & (IsPlayerInRangeOfPoint(playerid, 3908.1470,-2664.6038,0.8423, 5))
        {
        CreateExplosion(0,0,0,0,0);
        }
        else
        {
        SendClientMessage(playerid, COLOR_AQUA,"(!):{FFFFFF}You are not near a field gun");
        }
        return 1;
    }
How I can make this possible? That if the player skin is 111 and the player is in range of point 5, the explosion will appear?
Reply


Messages In This Thread
Little help - by Trawltrawl - 23.11.2012, 17:05
Re: Little help - by park4bmx - 23.11.2012, 17:41
Re: Little help - by xMCx - 23.11.2012, 17:49
Re: Little help - by Trawltrawl - 23.11.2012, 17:52
Re: Little help - by park4bmx - 23.11.2012, 19:34

Forum Jump:


Users browsing this thread: 1 Guest(s)