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
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
Would you like to react to this message? Create an account in a few clicks or log in to continue.


Fidelity Bravery Integrety
 
HomeShoutboxGallerySearchLatest imagesRegisterLog in
New FBI Forums:www.fbiclans.forummotion.com
Log in
Username:
Password:
Log in automatically: 
:: I forgot my password
May 2024
MonTueWedThuFriSatSun
  12345
6789101112
13141516171819
20212223242526
2728293031  
CalendarCalendar
Search
 
 

Display results as :
 
Rechercher Advanced Search

 

 [Tutorial] Make a Name Stealer!

Go down 
2 posters
AuthorMessage
KeimpeHAX
Coder
Coder
KeimpeHAX


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

[Tutorial] Make a Name Stealer! Empty
PostSubject: [Tutorial] Make a Name Stealer!   [Tutorial] Make a Name Stealer! Icon_minitime114/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
Ghost
Private, Grade 2
Private, Grade 2



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

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

OMG ,Plz Dont use it Very Happy
Back to top Go down
 
[Tutorial] Make a Name Stealer!
Back to top 
Page 1 of 1
 Similar topics
-
» [Tutorial] How to make a skin!
» [Tutorial] C++ for Noobies.
» How To Make A Link With A Name.
» How to make ur Computer Faster

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