20.11.2011, 12:09
Quote:
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 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 } } |