0.3b + dcmd not work?
#1

I'm trying something I know everyone else already did the SetPlayerHoldingObject... It all compiles i have the the inclues ect into folders and it wont load the filterscript with the command...

pawn Код:
dcmd_tvhead(playerid,params[]) {
    #pragma unused params
    if(PlayerInfo[playerid][Level] >= 2 || IsPlayerAdmin(playerid)) {
        if(TVHead[playerid] == 0)
        {
            SetPlayerHoldingObject(playerid, 1518, 15, 0, 0, 0.3);
            TVHead[playerid] = 1;
            SendClientMessage(playerid,green,"You now have a TVHead");
        }
        else if(TVHead[playerid] == 1)
        {
            StopPlayerHoldingObject(playerid);
            SendClientMessage(playerid,green,"You don't have a TVHead anymore");
            TVHead[playerid] = 0;
        }
    } else return SendClientMessage(playerid,red,"ERROR: You are not a high enough level to use this command");
    return 1;
}
Anyone can help?
Reply


Messages In This Thread
0.3b + dcmd not work? - by willsuckformoney - 25.08.2010, 02:58
Re: 0.3b + dcmd not work? - by LarzI - 25.08.2010, 09:05
Re: 0.3b + dcmd not work? - by willsuckformoney - 25.08.2010, 22:08

Forum Jump:


Users browsing this thread: 1 Guest(s)