![]() Stops the resource specified in the argument, if it was started. It is also possible to specify a category name, such as start. Starts the resource specified in the argument, if it was stopped. Server, or the (legacy) rconCommand event. This is needed as you need to set the interiorid on player spawn otherwise you will spawn into the middle of nowhere.Console commands can be executed either using an RCon tool, directly from the server console interface, a server configurationįile, the server command line, or (if a resource is allowed by the ACL) the ExecuteCommand function.Īdding a custom RCon command can be done using the RegisterCommand function on the If you decide you want to start the player inside an interior such as a shop or a house you need to get the interiorid if you do not know it already. If you are adding multiple skins to the same spawn location it is recommended that you simply only save with one skin and simply note the others down and change them as you copy into pawno.Īs with vehicles you use the save command Saving player positions works in a similar way to vehicles but there are a few extra options that can be considered.įirst you can change the skin of the player using the F11 and F12 keys to cycle through each, or if you know the id you can type So for example changing the modelid from 565 to 420 would result in a taxi spawningĪnd changing the colors 53,53 to -1,-1 would result in the color of the car being random and not blue. If you would like to change some of the properties the layout is like this:ĪddStaticVehicle (modelid,x,y,z,angle,color1,color2 ) You can copy this directly into the OnGameModeInit function. (If you can't find it, run the debug program as an admin) Open up and you should be greeted with a list of these:ĪddStaticVehicle ( 565, 1528.7856, -811.6795, 71.5422, 93.1689, 53, 53 ) // LS driveway - expensive car ![]() The /save command simply saves some information to a text file called savedpositions.txt in My Documents -> GTA San Andreas User Files -> SAMP. ![]() *Don't worry about the color of the vehicle, it can be changed afterwards. Park too close and the vehicle can sometimes be moved to an odd position when spawned. *Leave enough space at all sides of the vehicle especially if you plan on adding a car next to it. ![]() *Avoid saving on steep hills, the car may slide down it when spawned. You can just use the one car to do all your vehicle spawns and simply change the vehicleid afterwards to save time. *The comment is optional but it helps when you are doing many different types of cars. To save a car location, get in it and drive it to the position you want it in such as a driveway and type: ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |