Page 1 of 1

Problem to script a gang

Posted: 14 Feb 2010, 20:47
by 19_Steve_89
I have made a multiplayer map with two gangs.
But the respect doesn´t chance when i kill gang members.
The respect only changes when i destroy or steal a gang car.
Can someone tell me how to script?
This is my script:

SET_GANG_INFO ( russgang , 10 , pistol , shotgun , machine_gun , 7 , 246.5 , 22.5 , 2.0 , 10 , buick , 28 )

SET_GANG_INFO ( krisgang , 9 , pistol , molotov , flame_thrower , 6 , 156.5 , 10.5 , 2.0 , 10 , krsnabus , -1 )

SET_GANG_KILL_REACTION ( russgang , krisgang , 10 )
SET_GANG_KILL_REACTION ( krisgang , russgang , 10 )

What is wrong?

Re: Problem to script a gang

Posted: 14 Feb 2010, 21:59
by Lantyz
Welcome at GTAMP, Steve! I see LEVELSTART and LEVELEND are missing in your example. Make sure the SET_GANG_KILL_REACTION commands are placed after LEVELSTART, and the SET_GANG_INFO commands before LEVELSTART. The rest of your code looks fine. See also Creating gangs (GTA2) at WikiGTA.

Re: Problem to script a gang

Posted: 14 Feb 2010, 22:07
by Razor
also if you paste a script from gta use that tags: [code][/code]

Re: Problem to script a gang

Posted: 15 Feb 2010, 16:59
by 19_Steve_89
Thank you for your very fast help.
Now it works.
Is there a list with all Gang IDs where i can see what icon they have?

Re: Problem to script a gang

Posted: 15 Feb 2010, 17:02
by Gustavob
http://en.wikigta.org/wiki/Code_lists_% ... ter_remaps
remaps 5-13 are gang remaps, but all of those remaps can be used in "outfit" parameter.

Re: Problem to script a gang

Posted: 15 Feb 2010, 17:02
by Razor

Re: Problem to script a gang

Posted: 16 Nov 2012, 15:41
by Galactic Boy
SET_GANG_INFO ( russgang , 10 , pistol , shotgun , machine_gun , 7 , 246.5 , 22.5 , 2.0 , 10 , buick , 28 )

SET_GANG_INFO ( krisgang , 9 , pistol , molotov , flame_thrower , 6 , 156.5 , 10.5 , 2.0 , 10 , krsnabus , -1 )

SET_GANG_KILL_REACTION ( russgang , krisgang , 10 )
SET_GANG_KILL_REACTION ( krisgang , russgang , 10 )
The value that in SET_GANG_KILL_REACTION command that you wrote is wrong. This value must be 1 through 5. ;)

Re: Problem to script a gang

Posted: 16 Nov 2012, 18:07
by Pyro
Image

Re: Problem to script a gang

Posted: 16 Nov 2012, 18:13
by Sektor
A medic ped raising a thread would be more suitable.

Re: Problem to script a gang

Posted: 16 Nov 2012, 18:25
by Pyro
It's Friday here, plus I like the look of it too :P