Pickup problems
#5

Quote:
Originally Posted by jihadmeneer
Посмотреть сообщение
Why are you returning those 0?

Код:
CMD:gotobriefcase( playerid, params[ ] )
{
        if(IsPlayerAdmin(playerid))
        {
        SetPlayerPos(playerid, MoneyBagPos[0], MoneyBagPos[1] +3, MoneyBagPos[2]);
        return SendClientMessage(playerid, -1, "You have been {FF0000}teleported {FFFFFF}to the {33FF66}briefcase");
        }
        else
        {
        return 0;
        }
}
CMD:startbriefcase( playerid, params[ ] )
{
    if(IsPlayerAdmin(playerid))
        {
        KillTimer(GoAgainTimer);
        return MoneyBag();
        }
        else
        {
        return 0;
        }
}
You can better send an authorization message.
i dont want players or admins should know that this commands exists
Reply


Messages In This Thread
Pickup problems [+Rep for help] - by saikumar - 16.05.2014, 07:20
Re: Pickup problems - by saikumar - 16.05.2014, 08:27
Re: Pickup problems - by AroseKhanNiazi - 16.05.2014, 09:01
Re: Pickup problems - by jihadmeneer - 16.05.2014, 09:42
Re: Pickup problems - by saikumar - 16.05.2014, 10:24
Re: Pickup problems - by AroseKhanNiazi - 16.05.2014, 17:21

Forum Jump:


Users browsing this thread: 1 Guest(s)