anyone give me elevator system for bank

Started by Mubashir, Dec 31, 2016, 01:40 PM

Previous topic - Next topic

Mubashir

anyone give me elevator system for bank plzz'
Vccnr

Kewun



kennedyarz

#3
[spoiler]add in you OnScriptLoad
{
bank()
print("bank asensor loaded, I will not bother more users of the forum with silly questions")
}

Code: [Select]
function bank()
{
CreateCheckpoint(null, 1, true, Vector(point1 give pos of checkpoint), RGB(0, 0, 200), 1.3); //bank acensor
}

function onCheckpointEntered(player, CheckPoint)
{
switch( CheckPoint.ID )
  {
case 0:
player.Pos = Vector(teleported to); // Bank
break;
}
}


How to know where the points are going? Here is also this

add in you
onPlayerCommand(player, cmd, tex)
Code: [Select]
{
else if ( cmd == "GPS" || cmd == "gps" )
{
MessagePlayer( "[#f1f1f1][GPS][#ff1111] you are in [#AC9000][Pos X " + player.Pos.x + "], [#FF0000][Pos Y " + player.Pos.y + "], [#FFF999]Pos Z " + player.Pos.z , player );
print( "[GPS][Pos X " + player.Pos.x + "] [Pos Y " + player.Pos.y + "] [Pos Z " + player.Pos.z + "] " )
}
}
[/spoiler]