ShadowRAZE Posted August 3, 2014 Share Posted August 3, 2014 So guys, I need a little help with spawnpoint and spawn skin.. 1.) How can I make ONLY one spawn point., and how will i obtain the coordinates? 2.) When player spawns, I want the skin be randomly picked from the following list (14,15,16,19,18,20,93,23) 3.) how can i make player spawn with a car and few weapons? Call all this be achieved by editing the spawn manager? I'm not a complete noob but I'm learning lua now so, any amount of help would mean a lot to me. Thank You Link to comment
Et-win Posted August 3, 2014 Share Posted August 3, 2014 onResourceStart onPlayerSpawn/Wasted spawnPlayer math.random setPlayerSkin createVehicle warpPedIntoVehicle giveWeapon ^That if you want to script it by yourself. (Out of my head) Link to comment
RottenFlesh Posted August 3, 2014 Share Posted August 3, 2014 You don't event need the setPlayerSkin function. spawnPlayer has an argument to set the player model. And btw.. setPlayerSkin in deprecated. You should use setElementModel instead. Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now