Raised This Month: $ Target: $400
 0% 

display text on right?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Bone
Member
Join Date: Mar 2005
Location: Under your bed
Old 04-17-2005 , 16:51   display text on right?
Reply With Quote #1

I want to display info from my rp plugin on right side instead of left.. so im wondering what values i change so its on right side instead of left, heres current code.

Code:
 public employmentstatus(id) {     new displaystring[128], displayjob[64];     // if still alive     if(is_user_alive(id) == 1) {         // figure out which variables to use         // when setting up the display below         if(employed[id] == 0) {             get_cvar_string("avarp_unemployed_job",displayjob,63);         }         else {             format(displayjob,63,"Working as %s",employedjob[id]);         }         if(orged[id] == 0) {             org[id] = noorg;         }         paycheck(id); // do paycheck countdown         // get color from cvar         new hudcolor[12];         get_cvar_string("avarp_hudcolor",hudcolor,11);         // split it into red, green, blue         new redamt[4], greenamt[4], blueamt[4];         parse(hudcolor,redamt,0,greenamt,1,blueamt,3);         // display money and stuff         format(displaystring,127,"Stamina:%d%^nHunger: %d%^nOrganization: %s^nWallet: $%d^nBank Balance: $%d^nPaycheck in %d minutes^n%s @ $%d/hr",stamina[id],hunger[id],org[id],userwallet[id],userbank[id],nextpaycheck[id],displayjob,employed[id] ? employedwages[id] : get_cvar_num("avarp_unemployed_wages"));         set_hudmessage(str_to_num(redamt),str_to_num(greenamt),str_to_num(blueamt),0.015,0.015,0,6.0,float(MINUTESINHOUR*get_cvar_num("avarp_secondsinminute")),0.1,0.2,TEXTCHANNEL);         show_hudmessage(id,displaystring);     }     set_task(get_cvar_float("avarp_secondsinminute"),"employmentstatus",id); // loop task  }
__________________
the shirt covered her face, she screamed and clawed, so billy stomped on the bitch until he broke in her jaw.
Bone is offline
Send a message via MSN to Bone
 



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 09:59.


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