question.
#1

How do i add a mapped object in the game mode? like
Код:
CreateObject
2nd: how do i make a /opendoor or something for a specific gate ?

Edit: i managed to make the mapped object in my gamemode but for some reason when i add it it removes any other gate or door that i added why?
Reply
#2

Make object.
pawn Код:
CreateObject(modelid, Float:X, Float:Y, Float:Z, Float:rX, Float:rY, Float:rZ, Float:DrawDistance)
MoveObject
pawn Код:
MoveObject(objectid, Float:X, Float:Y, Float:Z, Float:Speed)
Reply
#3

Quote:
Originally Posted by Aprezt
Посмотреть сообщение
pawn Код:
CreateObject(modelid, Float:X, Float:Y, Float:Z, Float:rX, Float:rY, Float:rZ, Float:DrawDistance)
I know but where do i put it ? i mean after what ?
Reply
#4

CreateObject in "OnGameModeInit()" function.
MoveObject where your "/opendoor" command is (usualy OnPlayerCommandText if you don't use dcmd,zcmd or something like that).
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)