Pyro GTA2 Scripter & Mapper
- Joined: Jun '03
- Posts: 247
| Oliii wrote:
I'd like to do that when I in multiplayer enter a car it explodes immediately. How can I do that?
You have to create an IF statement inside the WHILE loop. A basic example would be:
Code:
IF ( IS_CHARACTER_IN_CAR ( player , car ) ) EXPLODE_LARGE ( car ) // extremely large explosion ENDIF
This simply checks that the character "player" is in the car named "car" and then explode. You can further expand this if needs be later on.
Oliii wrote:
I've given to one car a car alarm but I want to do If the car alarm begins somebody comes to get me out from the car like the cops do.
There is actually no check to see if a car alarm is on, but, you can just assign the alarm to the car and do an IF check on it like above.
Hope this helps  ------------------

Quote:
"Side effects may include: dry mouth, nausea, vomiting, water retention, painful rectal itch, hallucination, dementia, psychosis, coma, death, and halitosis. Magic is not for everyone. Consult your doctor before use."
Quote:
"Sharper than one of Oscar Wilde's witticisms rolled up, dunked in lemon juice and stabbed in someones eye..." |
|---|