Jump to content

All about peds


Peti

Recommended Posts

Posted

Hi, I'm here with more questions.

1. What's the difference between creating peds on server and client?

2. If I want to make a ped that shoot people, I must do it on client or server?

3. Where do you usually create your peds (client or server)? Why?

  • Moderators
Posted

1. If you create the ped on client side, the ped only visible for the client. But you create it on server side, the ped visible for everybody.

2. Both

3. Server.

  • Like 1
  • Thanks 1
  • Moderators
Posted

@Peti

1. + 3.

To answer this, you need to understand the difference between client and serverside:

1200px-Client-server-model.svg.png

 

  • The server is a computer. Which RUNS serverside.
  • The Clients are multiple computer connected to the server. Which RUNS clientside.
  • The internet and the network is in between. (ping is the delay which separates those two types of computers)
  • In case of a local-server the ping 0, but both sides are still separated.

 

And that will give the result as

@Patrick2562 said.

 

 

 

2.

You make peds created by clientside/serverside shoot at clientside. The reason why it can't be done serverside is because MTA doesn't support it yet.

 

  • Like 1
  • Thanks 2

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...