I need to set different weapons for different teams. how to set?
Another thing: The max ammo seems to be 200. If you set more than that, then you're done.
You can add them also in onplayerspawn
function onPlayerSpawn (player)
{
example
If (player. Team == 1) player. SetWeapon (26,200), player. SetWeapon (27,200), player. SetWeapon (30,200), player. SetWeapon (22,200);
If (player. Team == 2) player. SetWeapon (17,200), player. SetWeapon (26,200), player. SetWeapon (31,200), player. SetWeapon (21,200);
if(player.) Team == 3) player. SetWeapon (18,200), player. SetWeapon (25,200), player. SetWeapon (32,200), player. SetWeapon (20,200);
}
or in function onScriptLoad()
{
AddClass( 1, RGB( 255, 255, 3 ),13,Vector(0,0,0), 7.5261,25,320,21,320,26,450);
AddClass( 2, RGB( 255, 255, 3 ),14,Vector(0,0,0), 7.5261,25,320,21,320,26,450);
AddClass( 3, RGB( 255, 255, 3 ),15,Vector(0,0,0), 7.5261,25,320,21,320,26,450);
AddClass( 4, RGB( 255, 255, 3 ),16,Vector(0,0,0), 7.5261,25,320,21,320,26,450);
AddClass( 5, RGB( 255, 255, 3 ),35,Vector(0,0,0), 7.5261,25,320,21,320,26,450);
AddClass( 6, RGB( 255, 255, 3 ),83,Vector(0,0,0), 7.5261,25,320,21,320,26,450);
AddClass( 7, RGB( 255, 255, 3 ),104,Vector(0,0,0), 7.5261,25,320,21,320,26,450);
AddClass( 8, RGB( 255, 255, 3 ),100,Vector(0,0,0), 7.5261,25,320,21,320,26,450);
}
AddClass(TeamID, RGB(Color ID), Skin ID, Vector (spawn coordinates), angle of the player, IDWeapon, AmmoWeapon, IDWeapon, AmmoWeapon, IDWeapon, AmmoWeapon);
colors for onScriptLoad() class are rgb
Here you can find rgb colors: [url]http://www.rapidtables.com/web/color/RGB_Color.htm[/url]
Here you can find id them weapon : [url]http://wiki.vc-mp.org/wiki/Weapons[/url]
Here you can find id them skins: [url]http://wiki.vc-mp.org/wiki/Skins[/url]
well I hope and to help you with this
Next time use the [ code][ /code] option :P
Quote from: KAKAN on Mar 29, 2016, 01:33 PMNext time use the [ code][ /code] option :P
next time use modify instead of bumping you can mosify your previous post
Quote from: Coolkid on Mar 29, 2016, 02:34 PMQuote from: KAKAN on Mar 29, 2016, 01:33 PMNext time use the [ code][ /code] option :P
next time use modify instead of bumping you can mosify your previous post
Ah... I see, thanks for notifying about a bump that's no more than 16 hours
Quote from: KAKAN on Mar 29, 2016, 01:33 PMNext time use the [ code][ /code] option :P
already use it do not use it because I did not know how to put it
thanks for info. i need a host plz
Quote from: Jagrit Vats on Apr 02, 2016, 10:02 AMthanks for info. i need a host plz
Sure. http://forum.vc-mp.org/?board=25.0
i have posted application for drake's host. any other?
Quote from: Jagrit Vats on Apr 02, 2016, 03:18 PMi have posted application for drake's host. any other?
000webhost
5jelly
3jelly
hostinger
There are many more hosts for free. But many of 'em are not for applications.
@KAKAN - I think he is asking for server host [ VPS ]
Quote from: jayant on Apr 03, 2016, 05:23 AM@KAKAN - I think he is asking for server host [ VPS ]
I know. I just wanted him to realize that he should be more specific on what he wants so that we can help me without being confused.
I want vcmp server host
Quote from: Jagrit Vats on Apr 03, 2016, 07:55 AMI want vcmp server host
Then go buy one.
@Thijn please lock this topic because it wen't to a whole different discussion here which seems quite pointless.
Locked.