Object ID's
#1

So i found a list of object id's for samp. And i know admins can spawn them with commands such as /v /w /w2 and all that. But how do i spawn the other objects.

Like trees and scenery/cultural items have id numbers. How do we spawn them? Does it depend on a filter script? For example a palm tree has an id of 700 what command spawns that?
Reply
#2

CreateObject?
Reply
#3

yes i think, how can we spawn them? is there a command?
Reply
#4

You have to script it, or map it in MTA.
Reply
#5

pawn Код:
new float:x,Float:y,Float:z;

GetPlayerPos(playerid, x, y, z);
CreateObject(playerid, OBJECT_ID_HERE, x, y+2, z); // +2 so the player doesnt get stuck
Try that
Reply
#6

Quote:
Originally Posted by alpha500delta
Посмотреть сообщение
pawn Код:
new float:x,Float:y,Float:z;

GetPlayerPos(playerid, x, y, z);
CreateObject(playerid, OBJECT_ID_HERE, x, y+2, z); // +2 so the player doesnt get stuck
Try that
Put that code, inside a command he means :P
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)