Fidelity Bravery Integrety
Welcome to www.fbiclans.forumotion.com
Please enter your username and password to log in.
If you are not registered yet please hit the "Register" button to do so.
Thank you,
Chef


Fidelity Bravery Integrety
 
HomeShoutboxGalleryFAQSearchRegisterLog in
New FBI Forums:www.fbiclans.forummotion.com
Log in
Username:
Password:
Log in automatically: 
:: I forgot my password
September 2018
MonTueWedThuFriSatSun
     12
3456789
10111213141516
17181920212223
24252627282930
CalendarCalendar
Search
 
 

Display results as :
 
Rechercher Advanced Search

Share | 
 

 [Tutorial] Make a Name Stealer!

Go down 
AuthorMessage
KeimpeHAX
Coder
Coder
avatar

Female
Number of posts : 21
Registration date : 2009-04-14

PostSubject: [Tutorial] Make a Name Stealer!   14/4/2009, 21:08

If you killed one you will rename to that guy.
Its pretty funny sometimes if they try to ban you.
They first search your name on ALT, then they see.
(maybe you got a admin name like |FBI|3n3rgy)
Then the highest admin does !ban 3n3rgy (in that while you got alreayd other name)
So they ban 3n3rgy and your still in server. so you can stay busy with this.
But some people are smart to use listplayers so then they are busted xd.


Begin:

What you need:
- 3/4 weeks experience with C++ (engine hooking doesn't matter)
- Compiler (google: C++ Compiler)

[Tip]: Compile this as .dll file ofc (like all tut's i do, except Hello World)
[Tip]: I'm not responsible for bans in FBI for using this.

Based on your last kills name.

Code:
void vEventWrap(centity_t *pCentity, float fPos[3])

{

    entityState_t *pEntState = &pCentity->currentState;

    int iEvent = pEntState->event & ~EV_EVENT_BITS;

    int iTarget = pEntState->otherEntityNum;

    int iAttacker = pEntState->otherEntityNum2;

      if(iEvent == EV_OBITUARY)

      {

        if(iAttacker == pCg->clientNum)

        {

            g_Main.iNameStealerClientNum = iTarget;

        }

    }

}

Quote :
void vNameStealer(void)

{

int i;

char szName[128];

char szSpam[128];

i = g_Main.iNameStealerClientNum;

sprintf(szName, "name %s^7.\n", pCgs->clientinfo[i].name);

sprintf(szSpam, "say I just owned: %s!\n", pCgs->clientinfo[i].name);

trap_SendConsoleCommand(szName);

trap_SendConsoleCommand(szSpam);

}

Since colors are fucking with me i did quote but i still mean code Wink.
credits: couch
Back to top Go down
View user profile
Ghost
Private, Grade 2
Private, Grade 2


Number of posts : 23
Registration date : 2009-05-14

PostSubject: Re: [Tutorial] Make a Name Stealer!   21/5/2009, 11:57

OMG ,Plz Dont use it Very Happy
Back to top Go down
View user profile
 
[Tutorial] Make a Name Stealer!
Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
Fidelity Bravery Integrety :: Others :: Guides-
Jump to: