Menu

Show posts

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 Menu

Messages - mafiadz02

#1
hello guys ;) sup
Can somebody tell me how to do buy car and buy prop system script
pls tell me and THANK YOU
#2
Quote from: FlutterShy on May 27, 2020, 08:40 PMCan you post the pic of what error says and btw,
your AddClass 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. :)
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
#3
this the problem iam wanna just this character use this command and i got it stuck not working
function ScriptLoad()
{
 AddClass(3,RGB(0,255,255),5,Vector(0,0,0),3.275983006,0,0,0,0,0,0);
}

function onPlayerCommand( player, cmd, text )
{
     if(cmd == "wep" )
     {
       if(player.Class == 3)
       {
         local plr = FindPlayer(text);
          plr.SetWeapon(33,5000)
        }
    } 
}
#4
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
#5
Quote from: MEGAMIND on May 27, 2020, 04:50 PM
Quote 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 pc
Hello 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
but hey which is the best web net host or pl community
#6
hi guys does there are a way to host a server without router and make the server runs without the pc
#7
Snippet Showroom / Re: Helping Messages.
May 25, 2020, 09:14 PM
thank you great work
#8
hello guys sup !!!!
hey how to make object move and follow to you
#9
hey can someone tell me the id's of weapons and cars
i mean like that
id : 33 weapon : minigun
car
id : 92 car : banshee
pickup
id : 256 pickup : heal like that
#10
hi guys sup ! :)
iam wanna make a scripts how to make these script .