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

help With Editing spawn props


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
DIFF
Member
Join Date: Aug 2009
Old 12-01-2009 , 13:07   help With Editing spawn props
Reply With Quote #1

Hello... I need you help... I want to add another car in this mod and when i changing model - cars spawn in textures and don't move... how to make then spawn higher?

Code:
public CreateJeep()
{
	new ent  = CreateEntityByName("prop_vehicle_driveable");
	if(IsValidEntity(ent))
	{
		DispatchKeyValue(ent, "vehiclescript", "scripts/vehicles/ep1.txt");
		DispatchKeyValue(ent, "model", "models/supra/supra.mdl");
		DispatchKeyValue(ent, "solid","6");
		DispatchKeyValue(ent, "actionScale","1");
		DispatchKeyValue(ent, "EnableGun","0");
		DispatchKeyValue(ent, "ignorenormals","0");
		DispatchKeyValue(ent, "fadescale","1");
		DispatchKeyValue(ent, "fademindist","-1");
		DispatchKeyValue(ent, "VehicleLocked","0");
		DispatchKeyValue(ent, "screenspacefade","0");
		DispatchKeyValue(ent, "spawnflags", "256" );
		DispatchSpawn(ent);
		RCM_InitJeep(ent);
	}
	return ent;
}
DIFF 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 18:08.


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