How to spawn chars?
Cheat: Spawn Cars
Any time you're outside, break out your cell phone and insert the following phone numbers to unlock the vehicles listed.
* Annihilator (Helicopter) - (359)-555-0100
* Cognoscenti (Car) - (227)-555-0142
* Comet (Car) - (227)-555-0175
* FIB Buffalo (Car) - (227)-555-0100
* Jetmax (Boat) - (938)-555-0100
* NRG-900 (Motorcycle) - (625)-555-0100
* Sanchez (Car) - (625)-555-0150
* Super GT (Car) - (227)-555-0168
* Turismo (Car) - (227)-555-0147
or do you mean characters?
I want to spawn characters in the script, but when spawning my game off. Therefore, I ask them how to do?
You use the CreateChar function, but first you need to request the model and then wait until it's loaded, otherwise your game will crash. This example is using the CustomFiberThread, you CANNOT put the while loop in CustomThread, it has to be CustomFiberThread:
If you need some more help with it, I can give you my full Bodyguard Mod source code.
I have a model for some reason do not load, and the cycle of the game hang
can you post your code?
|All times are GMT -6. The time now is 07:13 PM.|