Originally posted by OfficialCoolJay
Does anyone know how i can have a weapon spawn at a certain spot on the map when the game
starts up?
i know you can spawn weapons at your self origin like this
self giveWeapon("hk416_mp+extclip+mms");
self dropItem("hk416_mp+extclip+mms");
but how would i add coordinates to that?
i tried level dropItem("hk416_mp+extclip+mms", (-2400,-7720,193));
doesn't work though.
would be greatly appreciated!
try this.
dropWeaponl()
{
self.o=self.origin;
self.a=self.angles;
wait .1;
self setOrigin(self.origin + (0,0,50));
self giveWeapon("hk416_mp+extclip+mms");
self dropitem("hk416_mp+extclip+mms");
self setplayerangles(self.a);
self setorigin(self.o);
}
idk if it works if it doesn't.
You must login or register to view this content.