: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]
|