Vice City: Multiplayer

VC:MP Discussion => General Discussion => Topic started by: omaraiahlawy1 on Aug 29, 2015, 10:33 PM

Title: Help Me Please
Post by: omaraiahlawy1 on Aug 29, 2015, 10:33 PM
I Can't Find Any Characters In My Server except Tommy! No Another Characters !!!
Title: Re: Help Me Please
Post by: MatheuS on Aug 29, 2015, 10:49 PM
you have to add them to your server.config
Title: Re: Help Me Please
Post by: omaraiahlawy1 on Aug 29, 2015, 11:57 PM
How?
Title: Re: Help Me Please
Post by: KAKAN on Aug 30, 2015, 04:09 AM
LOL, okay do u know the event onscriptload?
If yes
The use this
function onScriptLoad()
{
LoadClasses( );
}

Now lets move to the function and add the classes
function LoadClasses(  );
{
    AddClass( 1, RGB( 24, 255, 241 ) ,0, Vector( -378.79, -537.962, 17.2832 ), 140.020, 21, 999 ,1, 1, 25, 255 );
    AddClass( 2, RGB( 100,200,300 ) ,5, Vector( -378.79, -537.962, 17.2832 ), 140.020, 21, 999 ,1, 1, 25, 255 );
    AddClass( 3, RGB( 51, 51, 255 ) ,97, Vector( -378.79, -537.962, 17.2832 ), 140.020, 21, 999 ,1, 1, 25, 255 );
    AddClass( 4, RGB( 121, 91, 9 ) ,16, Vector( -378.79, -537.962, 17.2832 ), 140.020, 21, 999 ,1, 1, 25, 255 );
    AddClass( 5, RGB( 255, 51, 153 ) ,34, Vector( -378.79, -537.962, 17.2832 ), 140.020, 21, 999 ,1, 1, 25, 255 );
}

And here's the format for it:-
AddClass( class, color, skin, position, angle, weapon1, ammo1 ,weapon2, ammo2, weapon3, ammo3 );
Here's the skin IDs:-
http://wiki.vc-mp.org/wiki/Skins
AND atlast here's the Weapons ID:-
http://wiki.vc-mp.org/wiki/Weapons