How to create ?
#7

Quote:
Originally Posted by Joshb93
Посмотреть сообщение
This is just an example!


Under OnGameModeInit()

Код:
CreateObject( 1239, X, Y, Z, RotX, RotY, RotZ); // fill in the proper coords of where the arrow should go
Under the commands section,

Im going to use ZCMD:

Код:
CMD:enter(playerid, params[])
{
     if(IsPlayerInRangeOfPoint(playerid, X, Y, Z);
     {
         SetPlayerPos(playerid, X, Y, Z); // make the X.Y,Z coords inside the building you want them to go in
         SetCamerBehindPlayer(playerid);
         SetPlayerVirtualWorld(playerid, 1);
         TogglePlayerControllable(playerid, 1); // Ive had some freeze bugs when doing this, so, i always add this
     }
}
Dude that isn't anything related to this, this is pickup making and entering when he touches it, that what you made isn't close to this, or maybe it is, but that isnt what he asked.
Reply


Messages In This Thread
How to create ? - by dundolina - 20.11.2011, 11:50
Re: How to create ? - by Alberto_DR - 20.11.2011, 11:53
Re: How to create ? - by IstuntmanI - 20.11.2011, 11:59
Re: How to create ? - by SmiT - 20.11.2011, 12:00
Re: How to create ? - by Kakioshe22 - 20.11.2011, 12:06
Re: How to create ? - by Joshb93 - 20.11.2011, 12:08
Re: How to create ? - by Kakioshe22 - 20.11.2011, 12:09

Forum Jump:


Users browsing this thread: 1 Guest(s)