Attach object
#1

hi guys i want to add attach object to a Police car with a siren

//this is the code

Код HTML:
police[7] = AddStaticVehicleEx(411,1526.3502,-1644.3448,5.5955,180.2262,0,1, 30000, 1);

	new girofar1 = CreateObject(18646,0,0,-1000,0,0,0,100);
	AttachObjectToVehicle(girofar1, police[7], -0.749999, 1.024999, 0.309999, 0.000000, 0.000000, 0.000000);
//and this is the error

Код HTML:
C:\Users\StR\Desktop\star-gaming\gamemodes\gamemode.pwn(4518) : warning 202: number of arguments does not match definition
//the line 4518 is from

Код HTML:
police[7] = AddStaticVehicleEx(411,1526.3502,-1644.3448,5.5955,180.2262,0,1, 30000, 1);
cause of ,1 at the end to activate that siren
Reply


Messages In This Thread
Attach object - by StR_MaRy - 17.12.2015, 21:58
Re: Attach object - by SickAttack - 17.12.2015, 22:00
Re: Attach object - by N0FeaR - 17.12.2015, 22:23

Forum Jump:


Users browsing this thread: 1 Guest(s)