10.06.2014, 15:20
This is not a script request place, but however I can give you some tips.
Get the house object ID you want to make it appear, then define x,y,z with
Then, get the Player's Pos by GetPlayerPos, then create the object on player's coordinates, search wiki for usage of the functions.
These are the URLs:
https://sampwiki.blast.hk/wiki/GetPlayerPos
https://sampwiki.blast.hk/wiki/CreateObject
https://sampwiki.blast.hk/wiki/Floats
https://sampwiki.blast.hk/wiki/Model_ID
Dont forget the put a + to player's pos while creating the object our player might end up getting stuck in the house.
Get the house object ID you want to make it appear, then define x,y,z with
pawn Код:
new Float:x,Float:y,Float:z
These are the URLs:
https://sampwiki.blast.hk/wiki/GetPlayerPos
https://sampwiki.blast.hk/wiki/CreateObject
https://sampwiki.blast.hk/wiki/Floats
https://sampwiki.blast.hk/wiki/Model_ID
Dont forget the put a + to player's pos while creating the object our player might end up getting stuck in the house.

