does anybody know how to correctly fill the json format for beein loading successfully in the server folder "/maps/" ?
i just tryed out some maps as a converter from xml to json but not all maps working.
thanks for help,
I want to create a Ped with the model ShopLowSFY. I used the following clientside statements:
Vector3 pos = (Vector3) args;
uint hash = Convert.ToUInt32(args);
float heading = (float)args;
RAGE.Elements.Ped ped = new RAGE.Elements.Ped(hash, pos, heading);
At serverside I passed the arguments like this:
NAPI.ClientEvent.TriggerClientEvent(client, "create_ped_event", client.Position, client.Heading, NAPI.Util.PedNameToModel(model));
The problem is that the hash must be a uint but the model's hash is -1452399100.
How can I solve that?