UberRP v1.0 - [Beny]

Page 2 of 3 FirstFirst 123 LastLast
Results 16 to 30 of 36
  1. #16
    Ultra Light Beam Makarov is offline
    MemberRank
    Apr 2010 Join Date
    GothamLocation
    3,622Posts

    Re: UberRP v1.0 - [Beny]

    Lol, and at the point where you name the damages "1,2,3,4" make me laugh

    Heres a hit i made for Uber:

    PHP Code:
    #region :hit <user>
                        
    case "hit":
                        case 
    "punch":
                              {
                                
    using (DatabaseClient dbClient UberEnvironment.GetDatabase().GetClient())
                                {
                                    
    Int32 str dbClient.ReadInt32("SELECT str FROM users WHERE name = '" Session.GetHabbo().Username "'");
                                    
    Int32 health dbClient.ReadInt32("SELECT health FROM users WHERE user_id = '" TargetClient.Id "'");
                                    {
                                        
    RoomUser User;
                                        
    TargetRoom UberEnvironment.GetGame().GetRoomManager().GetRoom(Session.GetHabbo().CurrentRoomId);
                                        {
                                            if (
    TargetRoom == null)
                                            {
                                                return 
    false;
                                            }

                                            if (
    Params[1] == null)
                                            {
                                                
    Session.SendNotif("Type in a user to perform this action");
                                                return 
    false;
                                            }

                                            
    TargetClient UberEnvironment.GetGame().GetClientManager().GetClientByHabbo(Params[1]);

                                            if (
    TargetClient == null)
                                            {
                                                
    Session.SendNotif("User : " Params[1] + " is not in the room!");
                                                return 
    false;
                                            }

                                            
    User TargetRoom.GetRoomUserByHabbo(Session.GetHabbo().Id);

                                            if (
    User == null)
                                            {
                                                return 
    false;
                                            }

                                            
    Random randNum = new Random();
                                            
    int hit_dif_0 randNum.Next(13);
                                            
    int hit_dif_1 randNum.Next(113);

                                            
    int hit str hit_dif_0 hit_dif_1;

                                            
    User.Chat(Session"*" Session.GetHabbo().Username " swings at " Params[1] + " causing " hit " damage*"false);
                                            {
                                                
    dbClient.ExecuteQuery("UPDATE users SET health = health - '" hit "' WHERE user_id = '" TargetClient.Id "' LIMIT 1;");
                                            }
                                            if (
    health 1)
                                            {
                                                
    User.Chat(Session"*Kills " Params[1] + "*"false);
                                                
    ServerMessage response = new ServerMessage(286);
                                                
    response.AppendBoolean(false);
                                                
    response.AppendInt32(5);
                                                
    TargetClient.SendMessage(response);
                                            }
                                        }
                                        if (
    Params[1] == null)
                                        {
                                            
    Session.SendNotif(Params[1] + " Is not in your area ");
                                        }
                                    }
                                }
                            }
                            break;
                        
    #endregion 

  2. #17
    V.I.P Member Beny. is offline
    MemberRank
    Aug 2009 Join Date
    536Posts

    Re: UberRP v1.0 - [Beny]

    Well, You wouldnt really DIE if someone just slapped you ?

  3. #18
    Ultra Light Beam Makarov is offline
    MemberRank
    Apr 2010 Join Date
    GothamLocation
    3,622Posts

    Re: UberRP v1.0 - [Beny]

    Quote Originally Posted by MikeDavies View Post
    Also...

    Code:
                                                TargetRoomUser.Chat(Session, "*Knocks out " + Params[1] + "!*", true);
    TargetRoomUser.Chat(Session, "*" + Params[1] + " passes out !*", false);
    Why is the user whos knocking out someone passing out?

    ---------- Post added at 05:50 PM ---------- Previous post was at 05:49 PM ----------



    And how about no? It took me a long time to code it, Check it out @ fabborp.com
    I like your CMS btw :)

  4. #19
    Banned Someuser is offline
    BannedRank
    Aug 2010 Join Date
    466Posts

    Re: UberRP v1.0 - [Beny]

    Lol, nice attempt, Next time try recoding some parts instead of only adding Commands.

  5. #20
    Account Upgraded | Title Enabled! MikeDavies is offline
    MemberRank
    Aug 2010 Join Date
    WalesLocation
    629Posts

    Re: UberRP v1.0 - [Beny]

    Quote Originally Posted by Tr0ll.™ View Post
    I like your CMS btw :)
    Thanks, i like your RP Developments ;)

  6. #21
    Ultra Light Beam Makarov is offline
    MemberRank
    Apr 2010 Join Date
    GothamLocation
    3,622Posts

    Re: UberRP v1.0 - [Beny]

    Quote Originally Posted by MikeDavies View Post
    Thanks, i like your RP Developments ;)
    If you need any help PM me lol

  7. #22
    Alpha Member Zak© is offline
    MemberRank
    Oct 2007 Join Date
    2,693Posts

    Re: UberRP v1.0 - [Beny]

    Mike Improve your Hit and Health System for fobba

  8. #23
    Account Upgraded | Title Enabled! MikeDavies is offline
    MemberRank
    Aug 2010 Join Date
    WalesLocation
    629Posts

    Re: UberRP v1.0 - [Beny]

    Quote Originally Posted by Žak™ View Post
    Mike Improve your Hit and Health System for fobba
    Its Fabbo, and yeah i will

  9. #24
    V.I.P Member Beny. is offline
    MemberRank
    Aug 2009 Join Date
    536Posts

    Re: UberRP v1.0 - [Beny]

    :0 Yyyyyyyyyyyyyyyyyyyyou ownED fabborp !?

  10. #25
    Alpha Member Zak© is offline
    MemberRank
    Oct 2007 Join Date
    2,693Posts

    Re: UberRP v1.0 - [Beny]

    sorry im new to the name to me all it does is Sends shout saying i hit a 20 sames [hp hits] ands senda the user a alert sayin u lost 20 hp and then you oddly sleep on the floor? lool

  11. #26
    V.I.P Member Beny. is offline
    MemberRank
    Aug 2009 Join Date
    536Posts

    Re: UberRP v1.0 - [Beny]

    no. thats the other noobs emu. this one does random.

  12. #27
    Member Wolf X is offline
    MemberRank
    Dec 2010 Join Date
    81Posts

    Re: UberRP v1.0 - [Beny]

    the screenie is just a post of you sitting down
    Last edited by Wolf X; 10-02-11 at 11:49 PM.

  13. #28
    V.I.P Member Beny. is offline
    MemberRank
    Aug 2009 Join Date
    536Posts

    Re: UberRP v1.0 - [Beny]

    can u read ?!

  14. #29
    Ultra Light Beam Makarov is offline
    MemberRank
    Apr 2010 Join Date
    GothamLocation
    3,622Posts

    Re: UberRP v1.0 - [Beny]

    Quote Originally Posted by Beny. View Post
    no. thats the other noobs emu. this one does random.
    Are you kidding me? look at yours.. You have to define the damage which is stupid as fuck.

  15. #30
    Dirty capitalists. X1M! is offline
    MemberRank
    Dec 2008 Join Date
    450Posts

    Re: UberRP v1.0 - [Beny]

    I would give this project a 2/10;
    +1 for releasing
    +1 for your effort

    And to the faggots who complain about how he codes instead of thanking him; fuck you and goodnight.



Page 2 of 3 FirstFirst 123 LastLast

Advertisement