mbkapu = createObject(980, 1358.2998046875, 713.19921875, 12.60000038147, 0, 0, 90)function gate(player) local localPlayerName = getPlayerName(getLocalPlayer())if (localPlayerName==\"Shane_Ghaspard\") thenmoveObject(mbkapu, 500, 1358.2998046875, 713.19921875, 6.9000000953674)elseoutputChatBox(\"Ezt a kaput csak Shane Ghaspard használhatja\",player,255,0,0)endaddCommandHandler ( \"mbgate\", gate )function gatec(player) local localPlayerName = getPlayerName(getLocalPlayer())if (localPlayerName==\"Shane_Ghaspard\") thenmoveObject(mbkapu, 500, 1358.2998046875, 713.19921875, 12.60000038147)elseoutputChatBox(\"Ezt a kaput csak Shane Ghaspard használhatja\",player,255,0,0)endaddCommandHandler ( \"mbgatec\", gatec )
bkapu = createObject(980, 1358.2998046875, 713.19921875, 12.60000038147, 0, 0, 90)function gate(player) local localPlayerName = getPlayerName(player)if (localPlayerName==\"Shane_Ghaspard\") thenmoveObject(mbkapu, 500, 1358.2998046875, 713.19921875, 6.9000000953674)elseoutputChatBox(\"Ezt a kaput csak Shane Ghaspard használhatja\",player,255,0,0)endendaddCommandHandler ( \"mbgate\", gate )function gatec(player) local localPlayerName = getPlayerName(player)if (localPlayerName==\"Shane_Ghaspard\") thenmoveObject(mbkapu, 500, 1358.2998046875, 713.19921875, 12.60000038147)elseoutputChatBox(\"Ezt a kaput csak Shane Ghaspard használhatja\",player,255,0,0)endendaddCommandHandler ( \"mbgatec\", gatec )
Rossz a script. Szerver részre kell berakni ezt: bkapu = createObject(980, 1358.2998046875, 713.19921875, 12.60000038147, 0, 0, 90)function gate(player) local localPlayerName = getPlayerName(player)if (localPlayerName==\"Shane_Ghaspard\") thenmoveObject(mbkapu, 500, 1358.2998046875, 713.19921875, 6.9000000953674)elseoutputChatBox(\"Ezt a kaput csak Shane Ghaspard használhatja\",player,255,0,0)endendaddCommandHandler ( \"mbgate\", gate )function gatec(player) local localPlayerName = getPlayerName(player)if (localPlayerName==\"Shane_Ghaspard\") thenmoveObject(mbkapu, 500, 1358.2998046875, 713.19921875, 12.60000038147)elseoutputChatBox(\"Ezt a kaput csak Shane Ghaspard használhatja\",player,255,0,0)endendaddCommandHandler ( \"mbgatec\", gatec )
bkapu = createObject(980, 1358.2998046875, 713.19921875, 12.60000038147, 0, 0, 90)function gate(player) local localPlayerName = getPlayerName(player)if (localPlayerName==\"Shane_Ghaspard\" or localPlayerName==\"Budos_Jozsi\") thenmoveObject(mbkapu, 500, 1358.2998046875, 713.19921875, 6.9000000953674)elseoutputChatBox(\"Ezt a kaput csak Shane Ghaspard és Budos Jozsi használhatja\",player,255,0,0)endendaddCommandHandler ( \"mbgate\", gate )function gatec(player) local localPlayerName = getPlayerName(player)if (localPlayerName==\"Shane_Ghaspard\" or localPlayerName==\"Budos_Jozsi\")thenmoveObject(mbkapu, 500, 1358.2998046875, 713.19921875, 12.60000038147)elseoutputChatBox(\"Ezt a kaput csak Shane Ghaspard és Budos Jozsi használhatja\",player,255,0,0)endendaddCommandHandler ( \"mbgatec\", gatec )
Így: bkapu = createObject(980, 1358.2998046875, 713.19921875, 12.60000038147, 0, 0, 90)function gate(player) local localPlayerName = getPlayerName(player)if (localPlayerName==\"Shane_Ghaspard\" or localPlayerName==\"Budos_Jozsi\") thenmoveObject(mbkapu, 500, 1358.2998046875, 713.19921875, 6.9000000953674)elseoutputChatBox(\"Ezt a kaput csak Shane Ghaspard és Budos Jozsi használhatja\",player,255,0,0)endendaddCommandHandler ( \"mbgate\", gate )function gatec(player) local localPlayerName = getPlayerName(player)if (localPlayerName==\"Shane_Ghaspard\" or localPlayerName==\"Budos_Jozsi\")thenmoveObject(mbkapu, 500, 1358.2998046875, 713.19921875, 12.60000038147)elseoutputChatBox(\"Ezt a kaput csak Shane Ghaspard és Budos Jozsi használhatja\",player,255,0,0)endendaddCommandHandler ( \"mbgatec\", gatec )