Raised This Month: $ Target: $400
 0% 

placing a model on a map


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
hlstriker
Green Gaben
Join Date: Mar 2006
Location: OH-IO!
Old 07-08-2007 , 01:15   Re: placing a model on a map
Reply With Quote #3

Quote:
Originally Posted by AlMod View Post
PHP Code:
public place_entity_on_map()
{
            new 
ent create_entity("info_target")
            new 
origin[3] = {0,0,0// Change zeros to needed coords
            
entity_set_model(ent,"models/model.mdl")

In that code replace...
new origin[3] = {0,0,0}

With...
entity_set_origin(ent, Float:{0.0, 0.0, 0.0});
hlstriker is offline
 



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 21:26.


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