Raised This Month: $51 Target: $400
 12% 

[ANY] OM Prop Spawn - Updated 27/6/2011


Post New Thread Reply   
 
Thread Tools Display Modes
GoRRageBoy
BANNED
Join Date: Jul 2011
Old 09-19-2011 , 20:03   Re: [ANY] OM Prop Spawn - Updated 27/6/2011
Reply With Quote #41

So....will this soon have the ability to save credits on disconnect? Hopefully without resorting to SQL because I hate SQL.
GoRRageBoy is offline
sosi_alliedmodders
Junior Member
Join Date: Mar 2011
Old 10-02-2011 , 05:07   Re: [ANY] OM Prop Spawn - Updated 27/6/2011
Reply With Quote #42

general bug is that window menu is did not close after client death
__________________
sosi_alliedmodders is offline
sosi_alliedmodders
Junior Member
Join Date: Mar 2011
Old 10-09-2011 , 17:33   Re: [ANY] OM Prop Spawn - Updated 27/6/2011
Reply With Quote #43

No needed, I fixed myself

#define MENU_TIME_FOREVER 30 /**< Menu time delay */
__________________
sosi_alliedmodders is offline
Hekjuh
AlliedModders Donor
Join Date: Feb 2011
Location: Holland
Old 10-25-2011 , 08:01   Re: [ANY] OM Prop Spawn - Updated 27/6/2011
Reply With Quote #44

Is there a way to spawn props permanently on a fixed location in a map, like the plugin Map Decals does?
http://forums.alliedmods.net/showthread.php?t=69502
Hekjuh is offline
secu2
Junior Member
Join Date: Dec 2010
Old 01-01-2012 , 12:48   Re: [ANY] OM Prop Spawn - Updated 27/6/2011
Reply With Quote #45

Hello, do you think you could make the props spawn at the crosshair location, like in the modelfun plugin?

Here is an extract:
Quote:
//get spawn pos
GetClientEyeAngles(client, Angles);
GetClientAbsOrigin(client, Startpoint);
GetAngleVectors(Angles, AngleVec, NULL_VECTOR, NULL_VECTOR);

//calc endpoint
Endpoint[0] = Startpoint[0] + (AngleVec[0]*Distance);
Endpoint[1] = Startpoint[1] + (AngleVec[1]*Distance);
Endpoint[2] = Startpoint[2] + (AngleVec[2]*Distance);

//create new entity
prop = CreateEntityByName(entType);

if (IsValidEntity(prop))
{
DispatchKeyValue(prop, "model", modelName);
DispatchKeyValue(prop, "solid", "6");
DispatchKeyValueVector(prop, "angles", Angles);

DispatchSpawn(prop);
AcceptEntityInput(prop, "TurnOn", prop, prop, 0);

TeleportEntity(prop, Endpoint, NULL_VECTOR, NULL_VECTOR);

PushArrayCell( h_arraySpawnedItems, prop );
}
http://forums.alliedmods.net/showthread.php?p=775016

Also, it would be a good idea to add life to props to make them breakables.

Thanks

Last edited by secu2; 01-01-2012 at 12:51.
secu2 is offline
repoland2
Junior Member
Join Date: Jan 2012
Old 01-03-2012 , 06:30   Re: [ANY] OM Prop Spawn - Updated 27/6/2011
Reply With Quote #46

Quote:
Originally Posted by sosi_alliedmodders View Post
No needed, I fixed myself

#define MENU_TIME_FOREVER 30 /**< Menu time delay */
Excellent addition, I would LOVE to add this also but I have NO idea where you put this line of code... nor do I know how to access the .sp or .smx files.

Please help?

EDIT: Also -owned myself- I'm wondering, if you plan on updating this again... could you possibly add a feature where the menu autocloses when there aren't enough credits (or money) to buy more props? Example: 30 credits to start, you buy four props at 7 credits equalling 28, the menu will stay open until the credits run out, then auto close when you couldn't possibly buy anything. Then also have an auto timer as SOSI added as a 'just in case'.

Last edited by repoland2; 01-03-2012 at 19:09. Reason: Addition statement
repoland2 is offline
bmxican0091
Member
Join Date: Jan 2010
Location: Australia, Victoria.
Old 01-26-2012 , 10:10   Re: [ANY] OM Prop Spawn - Updated 27/6/2011
Reply With Quote #47

Would be great if it did save credits to a database after disconnect. Also good point raised by secu2, spawning props on the crosshair would be much more logical. If you could please implement these features -.-Owned Myself-.- that would be great.
__________________

bmxican0091 is offline
Stereotypical Gamer
Junior Member
Join Date: Jun 2011
Old 02-07-2012 , 15:34   Re: [ANY] OM Prop Spawn - Updated 27/6/2011
Reply With Quote #48

Quote:
Originally Posted by secu2 View Post
Hello, do you think you could make the props spawn at the crosshair location, like in the modelfun plugin?

Here is an extract:

http://forums.alliedmods.net/showthread.php?p=775016

Also, it would be a good idea to add life to props to make them breakables.

Thanks
Hey, +1 .
I badly need this. I hate how the props are spawned to a weird height... I want to tower props where I do look like in the http://addons.eventscripts.com/addons/view/es_propmenu

Thanks in advance
Stereotypical Gamer is offline
loranger
Senior Member
Join Date: Jun 2011
Old 02-16-2012 , 12:09   Re: [ANY] OM Prop Spawn - Updated 27/6/2011
Reply With Quote #49

[PropSpawn] Sorry you can't use this command!
[PropSpawn] Sorry you can't use this command!
[PropSpawn] Sorry you can't use this command!
[PropSpawn] Sorry you can't use this command!
[PropSpawn] Sorry you can't use this command!

plugin rating: 2/10 and im generous

pure crap
loranger is offline
andrew13
AlliedModders Donor
Join Date: Jul 2010
Old 05-09-2012 , 21:30   Re: [ANY] OM Prop Spawn - Updated 27/6/2011
Reply With Quote #50

What is the ADMINFLAG for this Plugin?
andrew13 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 12:34.


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