Raised This Month: $ Target: $400
 0% 

help!


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
skype321
Member
Join Date: Mar 2014
Old 04-01-2014 , 11:47   help!
Reply With Quote #1

Hello i want to use client_print instead of HUD message how can i do so here's the part..
PHP Code:
new pun_list[][] =
{
    
"%s has sliced %s^nand stole %s bucks!!!",
    
"%s has given %s a taste of his cold steel!!!^n(he took %s from him)",
    
"%s rules! %s bows to his mighty skills ^nand surrenders %s from his purse."
}; 
PHP Code:
set_hudmessage(255127420.5, -1.006.07.0);
show_hudmessage(0,pun_list[random(sizeof pun_list)],kname,vname,namount); 
Full script
Spoiler

Last edited by skype321; 04-01-2014 at 11:48.
skype321 is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 04-01-2014 , 12:20   Re: help!
Reply With Quote #2

Simply replace
Code:
show_hudmessage(0,
with
Code:
client_print(0, print_chat,
__________________

Last edited by fysiks; 04-01-2014 at 12:21.
fysiks is offline
Old 04-01-2014, 12:54
joelverghese
This message has been deleted by joelverghese.
skype321
Member
Join Date: Mar 2014
Old 04-02-2014 , 01:47   Re: help!
Reply With Quote #3

Quote:
Originally Posted by fysiks View Post
Simply replace
Code:
show_hudmessage(0,
with
Code:
client_print(0, print_chat,
Hello thanks for replying sir but i want to take the random messages from the pun_list (in the same way as the hud is done in the above script) how can i do so it's so confusing
EDIT - I want to display that in client_print format

Last edited by skype321; 04-02-2014 at 01:47.
skype321 is offline
Blizzard_87
Veteran Member
Join Date: Oct 2012
Old 04-02-2014 , 02:55   Re: help!
Reply With Quote #4

Quote:
Originally Posted by skype321 View Post
Hello thanks for replying sir but i want to take the random messages from the pun_list (in the same way as the hud is done in the above script) how can i do so it's so confusing
EDIT - I want to display that in client_print format
You mean how the hud is 2 lines?

Can't be done with client_print in one native. You would need to be done in two natives
__________________
Blizzard_87 is offline
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 05:55.


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