Several questions! Can you help me out? -
Dokins - 22.11.2012
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?
Re: Several questions! Can you help me out? -
tyler12 - 22.11.2012
Quote:
Originally Posted by Dokins
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)
PHP код:
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)
PHP код:
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)
https://sampforum.blast.hk/showthread.php?tid=217076
7)
https://sampforum.blast.hk/showthread.php?tid=335711

No
9)
MoveObject
Re: Several questions! Can you help me out? -
[KHK]Khalid - 22.11.2012
1# Use this
https://sampforum.blast.hk/showthread.php?tid=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 -
https://sampforum.blast.hk/showthread.php?pid=1251051#pid1251051.
4#
https://sampwiki.blast.hk/wiki/CreateExplosion
5# Check
this tutorial out.
6# Filterscript -
https://sampforum.blast.hk/showthread.php?tid=217076 - you may check how it's done there.
7#
https://sampforum.blast.hk/showthread.php?tid=282801
8# I don't think so.
9# Tutorial -
https://sampforum.blast.hk/showthread.php?tid=278880.
So, most of my answers were URLs to a tutorial which means you could have found an answer easily, if you had searched.
Re: Several questions! Can you help me out? -
Dokins - 22.11.2012
Thanks very much!