Raised This Month: $ Target: $400
 0% 

[HELP] TARGET NAME!! t(T.Tt)


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Hibiki_XD
Member
Join Date: Jan 2008
Old 04-02-2009 , 20:32   [HELP] TARGET NAME!! t(T.Tt)
Reply With Quote #1

:p... Hi All Allied Modders People..., i'm here because i need help with a code...., i'm trying to set targetname for my blockmaker example...

i'm doing this...

new szName[32];
pev(id, pev_targetname, szName, 31);

if( szName[0] == '^0' )
{
copy(szName, 31, "Unknown");
}
set_hudmessage(gHudRed, gHudGreen, gHudBlue, gfTextX, gfTextY, gHudEffects, gfHudFxTime, gfHudHoldTime, gfHudFadeInTime, gfHudFadeOutTime, gHudChannel);
show_hudmessage(id, "Block Type: %s^Creator: %s", gszBlockNames[blockType], szName);

but when i'm checking in my server.. all block say... "Unknown..." plz i need help to set the block own creator name...
example if my friend have name "Puriffict"
Should say:
Block Type: Bunnyhop - Creator: Puriffict

in own his block.....
but i'm using other code like this...

new szName[32]
get_user_name(id, szName, 31);

but.... with it only appear all the block with my name not of other.... ><.. can someone help me plz?
__________________
This is me Server Hide-n-Seek
[OFFLINE]
Hibiki_XD is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 02:19.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode