16.05.2014, 09:42
Why are you returning those 0?
You can better send an authorization message.
Код:
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; } }