hello guys sup
Can somebody tell me how to do buy car and buy prop system script
pls tell me and THANK YOU
Can somebody tell me how to do buy car and buy prop system script
pls tell me and THANK YOU
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts MenuQuote from: FlutterShy on May 27, 2020, 08:40 PMCan you post the pic of what error says and btw,bro i mean the class its not normal like the class 2 i do if (player.Class == 2) not working it will do other class
yourAddClass
function seems to be wrong.
Find the correct function(with parameters) and examples here:
AddClass function(click me)
/wep command(Credits: DizzasteR)else if( cmd == "wep" || cmd == "we" )
{
if( !text ) return MessagePlayer( "[#FF0000]/wep <wep 1> <wep 2> <...>", player );
else
{
local params = split( text, " " ); // Take out the space array
local weapons; // Create a new null variable which will be holding the list of weapons player took.
for( local i = 0; i <= params.len() - 1; i++ ) // since the 'len' returns value from 1 and array's starting value point is 0, we will use len() - 1 otherwise we'll receive an error.
{
if( !IsNum( params[i] ) && GetWeaponID( params[i] ) && GetWeaponID( params[i] ) > 0 && GetWeaponID( params[i] ) <= 32 ) // if Name was specified.
{
player.SetWeapon( GetWeaponID( params[i] ), 99999 ); // Get the weapon ID from its Name
weapons = weapons + " " + GetWeaponName( GetWeaponID( params[i] ) ); // Add the weapon name to given weapon list
}
else if( IsNum( params[i] ) && params[i].tointeger() < 33 && params[i].tointeger() > 0 ) // if ID was specified
{
player.SetWeapon( params[i].tointeger(), 99999 ); // Then just give player that weapon
weapons = weapons + " " + GetWeaponName( params[i].tointeger() ); // Get the weapon name from the ID and add it.
}
else MessagePlayer( "[#FF0000]Invalid Weapon Name/ID!", player ); // if the invalid ID/Name was given
}
if( weapons != null ) MessagePlayer( "[#00FF00]Received weapons: [#FFFFFF]" + weapons );
else MessagePlayer( "[#FF0000]No weapons specified", player );
}
}
Just add if ( player.Class = 3 ) before it.
Quote from: Athanatos on May 27, 2020, 07:03 PMYou really can't host a server without portforwarding. Unless the server provided NAT Punchtrough or a UPnP feature. VC:MP doesn't have any of these 2 features.yes i can do port forward but my friends want to access to my server but they want play on it on the night but i cant turn on my pc on that hours
Quote from: MEGAMIND on May 27, 2020, 04:50 PMbut hey which is the best web net host or pl communityQuote from: mafiadz02 on May 27, 2020, 04:30 PMhi guys does there are a way to host a server without router and make the server runs without the pcHello there @mafiadz02 yes there is a way..
You can try out the Almost free hosting Companies providng multiple platform game & web services for free
Visit Webnet Official Host or Visit pl-community Host