[RP][REL] My 1st release ;)[REL][RP]

Status
Not open for further replies.

Sujoyy

Member
Jan 21, 2011
147
1
I know this has been made before, but this is my 1st release! ;D
This is the :bite x command.

PHP:
#region :bite <user>
case "zombie":
case "bite":
case "throwup":
{
virtualUser User = userManager.getUser(args[1])
Room.sendShout(roomUser, "*Makes "  + User._Username + " a Zombie*");
User._Figure = hr-190-1028.lg-720-1028.he-1609-92.wa-2002-110.;
User._Mission = "I am infected! Watch out!";
User.refreshAppearance(false, false, true);
}
break;
#endregion

Hope you enjoy! :D
 

Sledmore

Chaturbate Livestreamer
Staff member
FindRetros Moderator
Jul 24, 2010
5,199
3,934
This makes your self the zombie, You need to add this;

PHP:
#region :bite <user>
case "zombie":
case "bite":
case "throwup":
{
virtualUser User = userManager.getUser(args[1])
Room.sendShout(roomUser, "*Makes " + User._Username + " a Zombie*");
User._Figure = hr-190-1028.lg-720-1028.he-1609-92.wa-2002-110.;
User._Mission = "I am infected! Watch out!";
User.refreshAppearance(false, false, true);
}
break;
#endregion

As you are biting the target, but nice release.
 

Sledmore

Chaturbate Livestreamer
Staff member
FindRetros Moderator
Jul 24, 2010
5,199
3,934
Code:
User._Figure = hr-190-1028.lg-720-1028.he-1609-92.wa-2002-110.;
User._Mission = "I am infected! Watch out!";
User.refreshAppearance(false, false, true);

As it turns your self into the zombie, And not the target, lol.
 

Sujoyy

Member
Jan 21, 2011
147
1
Oh, but then how do I make it as the targets clothes instead of the user who bites the target? :S
 

Sledmore

Chaturbate Livestreamer
Staff member
FindRetros Moderator
Jul 24, 2010
5,199
3,934
You obviously do not code. O.O!

Code:
User._Figure = hr-190-1028.lg-720-1028.he-1609-92.wa-2002-110.;
User._Mission = "I am infected! Watch out!";
User.refreshAppearance(false, false, true);

Is the bit that I replaced for you. The ".User" does the magic stuff. You have included it once in your statement, but just not again. The "User." is the target (;

- Enjoyz.
 

Sledmore

Chaturbate Livestreamer
Staff member
FindRetros Moderator
Jul 24, 2010
5,199
3,934
1) It's not php
2) It's different. Go check it over and read my above post..
 

Dayron1234

Rapnameiszero,cuzIhavezero,toleranceforidiots
Jun 30, 2010
772
35
Its called C sharp A.K.A C# as people call it as I do and its not php as php has <?php ?> tags to start off.
 

Kieren

The OGz
Aug 4, 2010
2,957
752
Be sure to add the correct code next time you make a release this is not the help and support section, nice release hope to see more from you, credits?
 
Status
Not open for further replies.

Users who are viewing this thread

Top