Raised This Month: $ Target: $400
 0% 

Help in editing a code


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Fuck For Fun
Veteran Member
Join Date: Nov 2013
Old 01-12-2015 , 10:55   Re: Help in editing a code
Reply With Quote #1

Quote:
Originally Posted by Obada View Post
Btw if I want the name of the player to be printed, it should be like that?
PHP Code:
client_print(0print_chat"%L"LANG_PLAYER"RES_ACCEPTED_G1"name
I should add "name", right?
-->
Code:
client_print(0, print_chat, "%L %s", LANG_PLAYER, "RES_ACCEPTED_G1", GetUserName( id ))
Code:
stock GetUserName( const index )
{
    static szName[ 32 ];
    
    get_user_name( index, szName, charsmax( szName ) );
    
    return szName;
}

Last edited by Fuck For Fun; 01-12-2015 at 10:57.
Fuck For Fun is offline
Send a message via Skype™ to Fuck For Fun
Reply



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 15:30.


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