Raised This Month: $ Target: $400
 0% 

model stuff


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
wonsae
Senior Member
Join Date: Jan 2006
Location: Behind you >:D
Old 03-02-2006 , 20:20   model stuff
Reply With Quote #1

I would I make it so when the player connects the models changes to a certain model and can't change models?

btw this is for the specialists

EDIT nvm I got the connecting stuff but I don't know how to make it so they don't change models
wonsae is offline
wonsae
Senior Member
Join Date: Jan 2006
Location: Behind you >:D
Old 03-02-2006 , 21:11  
Reply With Quote #2

Code:
public client_connect(id) {     engclient_cmd(id,"model collector-civ") } public client_infochanged(id){     get_user_info(id,"model","newmodel")     set_user_info(id,"model collector-civ","newmodel") }

I was wondering if this would work
wonsae is offline
Kraugh
Senior Member
Join Date: Jan 2006
Location: barrington, ri
Old 03-02-2006 , 21:23  
Reply With Quote #3

engclient_cmd takes a function as one parameter and its arguments as a second. so you would use this:

Code:
engclient_cmd(id,"model","modelname");

also, i would use engclient_cmd or client_cmd instead of set_user_info (it hasn't worked for me).
__________________
"You can not restrain a fool from speaking, but nothing obliges you to listen."
Kraugh is offline
Send a message via AIM to Kraugh
wonsae
Senior Member
Join Date: Jan 2006
Location: Behind you >:D
Old 03-02-2006 , 21:33  
Reply With Quote #4

Thank you!
wonsae 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 20:25.


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