Jump to content

Simmo23

Members
  • Posts

    5
  • Joined

  • Last visited

Everything posted by Simmo23

  1. I'm very grateful for this advice. I don't know about EntityData. That will help me.
  2. Hey guys, I use c# with the bridge. Is there any possibility to get an identifier from an Entity (Client, Vehicle)?. I like to manage additional data for clients (level, money, ...) which are stored in a DB. Just like that i like to manage additional data for vehicles later. Once an event is triggerd by a client, i like to manipulate the additional data. So i have to create a connection from the Client object - which i got from the event - and my User object. (Currently I'm using a dictionarylist with the client.Name as Key an my User object as Value and everytime i like to manipulate the data, i have to search for the client.Name as key in the List to get the User object). But if i think about the vehicles, I don't find any identifier. When I remember SA:MP, everything had an identifier, which has never change since the creation. What i've already tried: I tried to create a sub class user with the Client as base. So the User has got all the properties from its base class and I can add additional properties. The problem i have related to the constructor of the base class.
  3. Hey guys, I like to know or discuss which of these two options I should use to create a server. Are there differents in performance? Pros and cons of both? //edit: Should possibly moved to Scripting->Discussion
  4. Hey, since GTA:N and Rage:MP come together and I have to use the bridge, I don't know where to put my client-side scripts. What files (e.g meta files) are necessary and where are they located?
×
×
  • Create New...