Help Shoot sex doll doesn't work
#1
Hello.
what is the problem with my code pls
Code:
SexDoll() { self endon("death"); for(;;) { self waittill ( "weapon_fired" ); vec = anglestoforward(self getPlayerAngles()); end = (vec[0] * 200000, vec[1] * 200000, vec[2] * 200000); SPLOSIONlocation = BulletTrace( self gettagorigin("tag_eye"), self gettagorigin("tag_eye")+end, 0, self)[ "position" ]; if(self.pickedbullet == 0) { sentry = spawn("script_model", SPLOSIONlocation+( 0,0, 0)); self setModel( "furniture_blowupdoll01" ); self iPrintlnBold(SPLOSIONlocation); } } } spawnSM(origin, model, angles) { ent = spawn("script_model", origin); ent setModel(model); ent Solid(); ent CloneBrushmodelToScriptmodel( level.airDropCrateCollision ); if(isDefined(angles)) ent.angles = angles; return ent; }
[/quote]
Reply

#2
This model isn't working at all maps.

By the way, I thought it is another advertising. Troll

Code:
Put this in Init() precacheModel("furniture_blowupdoll01"); and this to your code: sentry = spawn("script_model", SPLOSIONlocation+( 0,0, 0)); sentry setModel( "furniture_blowupdoll01" );
Try this.
C++/Obj-Cdeveloper. Neko engine wip
Steam: Click
Reply

#3
Model only exists in Estate no?
Do not take life too seriously. You will never get out of it alive.
[Image: UGPjFJa.jpg]
Reply

#4
(03-03-2014, 17:56)DidUknowiPwn Wrote: Model only exists in Estate no?

It also works on Terminal, I cant remember if it does too on other maps.
Reply



Forum Jump:


Users browsing this thread:
1 Guest(s)

Forum Powered By MyBB, Theme by © 2002-2026 Melroy van den Berg.