16.05.2014, 10:24
Quote:
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; } } |