Raised This Month: $ Target: $400
 0% 

Sprite to one player


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Charr
Senior Member
Join Date: Jul 2005
Location: Long Island, New York, U
Old 10-26-2005 , 15:26  
Reply With Quote #1

for one person it would be: (Corrected)
Code:
message_begin(MSG_ONE,SVC_TEMPENTITY,{0,0,0},id) write_byte(17) write_coord(X) write_coord(Y) write_coord(Z) write_short(sprite) write_byte(scale) write_byte(brightness) message_end()
Altough I clueless to what the scale var does, I do know that you sprite has to be a global var that is precached like:
Code:
new sprite public plugin_precache()    sprite = precache_model("dir/sprite.spr")
Charr is offline
Send a message via AIM to Charr Send a message via MSN to Charr
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 23:35.


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