PDA

View Full Version : Several questions! Can you help me out?


Dokins
22/11/2012, 04:20 PM
Hey, I have a few general questions about things I'm not too sure how work. If you could answer as many as possible I'd be appreciated!

How does removing a building/Object work/Is it possible?

How it possible to add furniture to your house? In-Game

How do checkpoints work?

How can I create random/dynamic fires?

Is it possible to create an indescructible vehicle?

How does dropping/picking up weapons work?

In-game object editor?

Is it possible to construct a railway line that functions?

How do gates work?

tyler12
22/11/2012, 04:30 PM
Hey, I have a few general questions about things I'm not too sure how work. If you could answer as many as possible I'd be appreciated!

How does removing a building/Object work/Is it possible?

How it possible to add furniture to your house? In-Game

How do checkpoints work?

How can I create random/dynamic fires?

Is it possible to create an indescructible vehicle?

How does dropping/picking up weapons work?

In-game object editor?

Is it possible to construct a railway line that functions?

How do gates work?

1)
RemoveBuildingForPlayer(playerid, 615, 0.0, 0.0, 0.0, 200.0);
(playerid, modelid, Float:fX, Float:fY, Float:fZ, Float:fRadius)
playerid The ID of the player to remove the objects for.
modelid The model to remove.
Float:fX The X coordinate around which the objects will be removed.
Float:fY The Y coordinate around which the objects will be removed.
Float:fZ The Z coordinate around which the objects will be removed.
Float:fRadius The radius. Objects within this radius from the coordinates above will be removed.

2)
Create(Dynamic)Object

3)
public OnPlayerSpawn(playerid)
{
SetPlayerCheckpoint(playerid, 1982.6150, -220.6680, -0.2432, 3.0);
return 1;
}

public OnPlayerEnterCheckpoint(playerid)
{
GivePlayerMoney(playerid, 1000);
DisablePlayerCheckpoint(playerid);
return 1;
}

Theres no checkpoint IDs.

4)
CreateExploision

5)
Set a timer and repair.

6)
http://forum.sa-mp.com/showthread.php?t=217076

7)
http://forum.sa-mp.com/showthread.php?t=335711

8)
No

9)
MoveObject

[KHK]Khalid
22/11/2012, 04:43 PM
1# Use this http://forum.sa-mp.com/showthread.php?t=282801 map editor, select an object to delete then press DELETE on your keyboard or just click the Delete option.

2# It's done by creating some objects at a house with a few codes.

3# Here's a tutorial - http://forum.sa-mp.com/showthread.php?p=1251051.

4# http://wiki.sa-mp.com/wiki/CreateExplosion

5# Check this (http://forum.sa-mp.com/showthread.php?t=152376) tutorial out.

6# Filterscript - http://forum.sa-mp.com/showthread.php?t=217076 - you may check how it's done there.

7# http://forum.sa-mp.com/showthread.php?t=282801

8# I don't think so.

9# Tutorial - http://forum.sa-mp.com/showthread.php?t=278880.

So, most of my answers were URLs to a tutorial which means you could have found an answer easily, if you had searched.

Dokins
22/11/2012, 04:44 PM
Thanks very much!